CfnPackagingConfigurationProps

class aws_cdk.aws_mediapackage.CfnPackagingConfigurationProps(*, id, packaging_group_id, cmaf_package=None, dash_package=None, hls_package=None, mss_package=None, tags=None)

Bases: object

Properties for defining a CfnPackagingConfiguration.

Parameters:
  • id (str) – Unique identifier that you assign to the packaging configuration.

  • packaging_group_id (str) – The ID of the packaging group associated with this packaging configuration.

  • cmaf_package (Union[IResolvable, CmafPackageProperty, Dict[str, Any], None]) – Parameters for CMAF packaging.

  • dash_package (Union[IResolvable, DashPackageProperty, Dict[str, Any], None]) – Parameters for DASH-ISO packaging.

  • hls_package (Union[IResolvable, HlsPackageProperty, Dict[str, Any], None]) – Parameters for Apple HLS packaging.

  • mss_package (Union[IResolvable, MssPackageProperty, Dict[str, Any], None]) – Parameters for Microsoft Smooth Streaming packaging.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to assign to the packaging configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackage as mediapackage

cfn_packaging_configuration_props = mediapackage.CfnPackagingConfigurationProps(
    id="id",
    packaging_group_id="packagingGroupId",

    # the properties below are optional
    cmaf_package=mediapackage.CfnPackagingConfiguration.CmafPackageProperty(
        hls_manifests=[mediapackage.CfnPackagingConfiguration.HlsManifestProperty(
            ad_markers="adMarkers",
            include_iframe_only_stream=False,
            manifest_name="manifestName",
            program_date_time_interval_seconds=123,
            repeat_ext_xKey=False,
            stream_selection=mediapackage.CfnPackagingConfiguration.StreamSelectionProperty(
                max_video_bits_per_second=123,
                min_video_bits_per_second=123,
                stream_order="streamOrder"
            )
        )],

        # the properties below are optional
        encryption=mediapackage.CfnPackagingConfiguration.CmafEncryptionProperty(
            speke_key_provider=mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty(
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url",

                # the properties below are optional
                encryption_contract_configuration=mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty()
            )
        ),
        include_encoder_configuration_in_segments=False,
        segment_duration_seconds=123
    ),
    dash_package=mediapackage.CfnPackagingConfiguration.DashPackageProperty(
        dash_manifests=[mediapackage.CfnPackagingConfiguration.DashManifestProperty(
            manifest_layout="manifestLayout",
            manifest_name="manifestName",
            min_buffer_time_seconds=123,
            profile="profile",
            scte_markers_source="scteMarkersSource",
            stream_selection=mediapackage.CfnPackagingConfiguration.StreamSelectionProperty(
                max_video_bits_per_second=123,
                min_video_bits_per_second=123,
                stream_order="streamOrder"
            )
        )],

        # the properties below are optional
        encryption=mediapackage.CfnPackagingConfiguration.DashEncryptionProperty(
            speke_key_provider=mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty(
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url",

                # the properties below are optional
                encryption_contract_configuration=mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty()
            )
        ),
        include_encoder_configuration_in_segments=False,
        include_iframe_only_stream=False,
        period_triggers=["periodTriggers"],
        segment_duration_seconds=123,
        segment_template_format="segmentTemplateFormat"
    ),
    hls_package=mediapackage.CfnPackagingConfiguration.HlsPackageProperty(
        hls_manifests=[mediapackage.CfnPackagingConfiguration.HlsManifestProperty(
            ad_markers="adMarkers",
            include_iframe_only_stream=False,
            manifest_name="manifestName",
            program_date_time_interval_seconds=123,
            repeat_ext_xKey=False,
            stream_selection=mediapackage.CfnPackagingConfiguration.StreamSelectionProperty(
                max_video_bits_per_second=123,
                min_video_bits_per_second=123,
                stream_order="streamOrder"
            )
        )],

        # the properties below are optional
        encryption=mediapackage.CfnPackagingConfiguration.HlsEncryptionProperty(
            speke_key_provider=mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty(
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url",

                # the properties below are optional
                encryption_contract_configuration=mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty()
            ),

            # the properties below are optional
            constant_initialization_vector="constantInitializationVector",
            encryption_method="encryptionMethod"
        ),
        include_dvb_subtitles=False,
        segment_duration_seconds=123,
        use_audio_rendition_group=False
    ),
    mss_package=mediapackage.CfnPackagingConfiguration.MssPackageProperty(
        mss_manifests=[mediapackage.CfnPackagingConfiguration.MssManifestProperty(
            manifest_name="manifestName",
            stream_selection=mediapackage.CfnPackagingConfiguration.StreamSelectionProperty(
                max_video_bits_per_second=123,
                min_video_bits_per_second=123,
                stream_order="streamOrder"
            )
        )],

        # the properties below are optional
        encryption=mediapackage.CfnPackagingConfiguration.MssEncryptionProperty(
            speke_key_provider=mediapackage.CfnPackagingConfiguration.SpekeKeyProviderProperty(
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url",

                # the properties below are optional
                encryption_contract_configuration=mediapackage.CfnPackagingConfiguration.EncryptionContractConfigurationProperty()
            )
        ),
        segment_duration_seconds=123
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

cmaf_package

Parameters for CMAF packaging.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-cmafpackage

dash_package

Parameters for DASH-ISO packaging.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-dashpackage

hls_package

Parameters for Apple HLS packaging.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-hlspackage

id

Unique identifier that you assign to the packaging configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-id

mss_package

Parameters for Microsoft Smooth Streaming packaging.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-msspackage

packaging_group_id

The ID of the packaging group associated with this packaging configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-packaginggroupid

tags

The tags to assign to the packaging configuration.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-tags