Skip to main content

multiplexprograms

Creates, updates, deletes or gets a multiplexprogram resource or lists multiplexprograms in a region

Overview

Namemultiplexprograms
TypeResource
DescriptionResource schema for AWS::MediaLive::Multiplexprogram
Idawscc.medialive.multiplexprograms

Fields

NameDatatypeDescription
channel_idstringThe MediaLive channel associated with the program.
multiplex_idstringThe ID of the multiplex that the program belongs to.
multiplex_program_settingsobjectThe settings for this multiplex program.
preferred_channel_pipelinestringThe settings for this multiplex program.
packet_identifiers_mapobjectThe packet identifier map for this multiplex program.
pipeline_detailsarrayContains information about the current sources for the specified program in the specified multiplex. Keep in mind that each multiplex pipeline connects to both pipelines in a given source channel (the channel identified by the program). But only one of those channel pipelines is ever active at one time.
program_namestringThe name of the multiplex program.
regionstringAWS region.

For more information, see AWS::MediaLive::Multiplexprogram.

Methods

NameResourceAccessible byRequired Params
create_resourcemultiplexprogramsINSERTregion
delete_resourcemultiplexprogramsDELETEIdentifier, region
update_resourcemultiplexprogramsUPDATEIdentifier, PatchDocument, region
list_resourcesmultiplexprograms_list_onlySELECTregion
get_resourcemultiplexprogramsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual multiplexprogram.

SELECT
region,
channel_id,
multiplex_id,
multiplex_program_settings,
preferred_channel_pipeline,
packet_identifiers_map,
pipeline_details,
program_name
FROM awscc.medialive.multiplexprograms
WHERE
region = 'us-east-1' AND
Identifier = '{{ program_name }}|{{ multiplex_id }}';

INSERT example

Use the following StackQL query and manifest file to create a new multiplexprogram resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.medialive.multiplexprograms (
MultiplexId,
MultiplexProgramSettings,
PreferredChannelPipeline,
PacketIdentifiersMap,
PipelineDetails,
ProgramName,
region
)
SELECT
'{{ multiplex_id }}',
'{{ multiplex_program_settings }}',
'{{ preferred_channel_pipeline }}',
'{{ packet_identifiers_map }}',
'{{ pipeline_details }}',
'{{ program_name }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a multiplexprogram resource, using stack-deploy.

/*+ update */
UPDATE awscc.medialive.multiplexprograms
SET PatchDocument = string('{{ {
"MultiplexProgramSettings": multiplex_program_settings,
"PreferredChannelPipeline": preferred_channel_pipeline,
"PacketIdentifiersMap": packet_identifiers_map,
"PipelineDetails": pipeline_details
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ program_name }}|{{ multiplex_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.medialive.multiplexprograms
WHERE
Identifier = '{{ program_name }}|{{ multiplex_id }}' AND
region = 'us-east-1';

Permissions

To operate on the multiplexprograms resource, the following permissions are required:

medialive:CreateMultiplexProgram,
medialive:DescribeMultiplexProgram