CfnPackagingConfiguration

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

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::MediaPackage::PackagingConfiguration.

CloudformationResource

AWS::MediaPackage::PackagingConfiguration

Link

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

Create a new AWS::MediaPackage::PackagingConfiguration.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • idAWS::MediaPackage::PackagingConfiguration.Id.

  • packaging_group_id (str) – AWS::MediaPackage::PackagingConfiguration.PackagingGroupId.

  • cmaf_package (Union[IResolvable, CmafPackageProperty, None]) – AWS::MediaPackage::PackagingConfiguration.CmafPackage.

  • dash_package (Union[IResolvable, DashPackageProperty, None]) – AWS::MediaPackage::PackagingConfiguration.DashPackage.

  • hls_package (Union[IResolvable, HlsPackageProperty, None]) – AWS::MediaPackage::PackagingConfiguration.HlsPackage.

  • mss_package (Union[IResolvable, MssPackageProperty, None]) – AWS::MediaPackage::PackagingConfiguration.MssPackage.

  • tags (Optional[Sequence[CfnTag]]) – AWS::MediaPackage::PackagingConfiguration.Tags.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

# Example automatically generated. See https://github.com/aws/jsii/issues/826
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::MediaPackage::PackagingConfiguration'
attr_arn

Arn

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

cmaf_package

AWS::MediaPackage::PackagingConfiguration.CmafPackage.

Link

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

Return type

Union[IResolvable, CmafPackageProperty, None]

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

dash_package

AWS::MediaPackage::PackagingConfiguration.DashPackage.

Link

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

Return type

Union[IResolvable, DashPackageProperty, None]

hls_package

AWS::MediaPackage::PackagingConfiguration.HlsPackage.

Link

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

Return type

Union[IResolvable, HlsPackageProperty, None]

id

AWS::MediaPackage::PackagingConfiguration.Id.

Link

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

Return type

str

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

mss_package

AWS::MediaPackage::PackagingConfiguration.MssPackage.

Link

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

Return type

Union[IResolvable, MssPackageProperty, None]

node

The construct tree node associated with this construct.

Return type

ConstructNode

packaging_group_id

AWS::MediaPackage::PackagingConfiguration.PackagingGroupId.

Link

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

Return type

str

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

tags

AWS::MediaPackage::PackagingConfiguration.Tags.

Link

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

Return type

TagManager

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

CmafEncryptionProperty

class CfnPackagingConfiguration.CmafEncryptionProperty(*, speke_key_provider)

Bases: object

Parameters

speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty]) – CfnPackagingConfiguration.CmafEncryptionProperty.SpekeKeyProvider.

Link

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

Attributes

speke_key_provider

CfnPackagingConfiguration.CmafEncryptionProperty.SpekeKeyProvider.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafencryption.html#cfn-mediapackage-packagingconfiguration-cmafencryption-spekekeyprovider

Return type

Union[IResolvable, SpekeKeyProviderProperty]

CmafPackageProperty

class CfnPackagingConfiguration.CmafPackageProperty(*, hls_manifests, encryption=None, include_encoder_configuration_in_segments=None, segment_duration_seconds=None)

Bases: object

Parameters
  • hls_manifests (Union[IResolvable, Sequence[Union[IResolvable, HlsManifestProperty]]]) – CfnPackagingConfiguration.CmafPackageProperty.HlsManifests.

  • encryption (Union[IResolvable, CmafEncryptionProperty, None]) – CfnPackagingConfiguration.CmafPackageProperty.Encryption.

  • include_encoder_configuration_in_segments (Union[bool, IResolvable, None]) – CfnPackagingConfiguration.CmafPackageProperty.IncludeEncoderConfigurationInSegments.

  • segment_duration_seconds (Union[int, float, None]) – CfnPackagingConfiguration.CmafPackageProperty.SegmentDurationSeconds.

Link

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

Attributes

encryption

CfnPackagingConfiguration.CmafPackageProperty.Encryption.

Link

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

Return type

Union[IResolvable, CmafEncryptionProperty, None]

hls_manifests

CfnPackagingConfiguration.CmafPackageProperty.HlsManifests.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, HlsManifestProperty]]]

include_encoder_configuration_in_segments

CfnPackagingConfiguration.CmafPackageProperty.IncludeEncoderConfigurationInSegments.

Link

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

Return type

Union[bool, IResolvable, None]

segment_duration_seconds

CfnPackagingConfiguration.CmafPackageProperty.SegmentDurationSeconds.

Link

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

Return type

Union[int, float, None]

DashEncryptionProperty

class CfnPackagingConfiguration.DashEncryptionProperty(*, speke_key_provider)

Bases: object

Parameters

speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty]) – CfnPackagingConfiguration.DashEncryptionProperty.SpekeKeyProvider.

Link

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

Attributes

speke_key_provider

CfnPackagingConfiguration.DashEncryptionProperty.SpekeKeyProvider.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashencryption.html#cfn-mediapackage-packagingconfiguration-dashencryption-spekekeyprovider

Return type

Union[IResolvable, SpekeKeyProviderProperty]

DashManifestProperty

class CfnPackagingConfiguration.DashManifestProperty(*, manifest_layout=None, manifest_name=None, min_buffer_time_seconds=None, profile=None, stream_selection=None)

Bases: object

Parameters
  • manifest_layout (Optional[str]) – CfnPackagingConfiguration.DashManifestProperty.ManifestLayout.

  • manifest_name (Optional[str]) – CfnPackagingConfiguration.DashManifestProperty.ManifestName.

  • min_buffer_time_seconds (Union[int, float, None]) – CfnPackagingConfiguration.DashManifestProperty.MinBufferTimeSeconds.

  • profile (Optional[str]) – CfnPackagingConfiguration.DashManifestProperty.Profile.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, None]) – CfnPackagingConfiguration.DashManifestProperty.StreamSelection.

Link

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

Attributes

manifest_layout

CfnPackagingConfiguration.DashManifestProperty.ManifestLayout.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-manifestlayout

Return type

Optional[str]

manifest_name

CfnPackagingConfiguration.DashManifestProperty.ManifestName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-manifestname

Return type

Optional[str]

min_buffer_time_seconds

CfnPackagingConfiguration.DashManifestProperty.MinBufferTimeSeconds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-minbuffertimeseconds

Return type

Union[int, float, None]

profile

CfnPackagingConfiguration.DashManifestProperty.Profile.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-profile

Return type

Optional[str]

stream_selection

CfnPackagingConfiguration.DashManifestProperty.StreamSelection.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-streamselection

Return type

Union[IResolvable, StreamSelectionProperty, None]

DashPackageProperty

class CfnPackagingConfiguration.DashPackageProperty(*, dash_manifests, encryption=None, include_encoder_configuration_in_segments=None, period_triggers=None, segment_duration_seconds=None, segment_template_format=None)

Bases: object

Parameters
  • dash_manifests (Union[IResolvable, Sequence[Union[IResolvable, DashManifestProperty]]]) – CfnPackagingConfiguration.DashPackageProperty.DashManifests.

  • encryption (Union[IResolvable, DashEncryptionProperty, None]) – CfnPackagingConfiguration.DashPackageProperty.Encryption.

  • include_encoder_configuration_in_segments (Union[bool, IResolvable, None]) – CfnPackagingConfiguration.DashPackageProperty.IncludeEncoderConfigurationInSegments.

  • period_triggers (Optional[Sequence[str]]) – CfnPackagingConfiguration.DashPackageProperty.PeriodTriggers.

  • segment_duration_seconds (Union[int, float, None]) – CfnPackagingConfiguration.DashPackageProperty.SegmentDurationSeconds.

  • segment_template_format (Optional[str]) – CfnPackagingConfiguration.DashPackageProperty.SegmentTemplateFormat.

Link

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

Attributes

dash_manifests

CfnPackagingConfiguration.DashPackageProperty.DashManifests.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, DashManifestProperty]]]

encryption

CfnPackagingConfiguration.DashPackageProperty.Encryption.

Link

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

Return type

Union[IResolvable, DashEncryptionProperty, None]

include_encoder_configuration_in_segments

CfnPackagingConfiguration.DashPackageProperty.IncludeEncoderConfigurationInSegments.

Link

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

Return type

Union[bool, IResolvable, None]

period_triggers

CfnPackagingConfiguration.DashPackageProperty.PeriodTriggers.

Link

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

Return type

Optional[List[str]]

segment_duration_seconds

CfnPackagingConfiguration.DashPackageProperty.SegmentDurationSeconds.

Link

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

Return type

Union[int, float, None]

segment_template_format

CfnPackagingConfiguration.DashPackageProperty.SegmentTemplateFormat.

Link

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

Return type

Optional[str]

HlsEncryptionProperty

class CfnPackagingConfiguration.HlsEncryptionProperty(*, speke_key_provider, constant_initialization_vector=None, encryption_method=None)

Bases: object

Parameters
  • speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty]) – CfnPackagingConfiguration.HlsEncryptionProperty.SpekeKeyProvider.

  • constant_initialization_vector (Optional[str]) – CfnPackagingConfiguration.HlsEncryptionProperty.ConstantInitializationVector.

  • encryption_method (Optional[str]) – CfnPackagingConfiguration.HlsEncryptionProperty.EncryptionMethod.

Link

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

Attributes

constant_initialization_vector

CfnPackagingConfiguration.HlsEncryptionProperty.ConstantInitializationVector.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-constantinitializationvector

Return type

Optional[str]

encryption_method

CfnPackagingConfiguration.HlsEncryptionProperty.EncryptionMethod.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-encryptionmethod

Return type

Optional[str]

speke_key_provider

CfnPackagingConfiguration.HlsEncryptionProperty.SpekeKeyProvider.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-spekekeyprovider

Return type

Union[IResolvable, SpekeKeyProviderProperty]

HlsManifestProperty

class CfnPackagingConfiguration.HlsManifestProperty(*, ad_markers=None, include_iframe_only_stream=None, manifest_name=None, program_date_time_interval_seconds=None, repeat_ext_x_key=None, stream_selection=None)

Bases: object

Parameters
  • ad_markers (Optional[str]) – CfnPackagingConfiguration.HlsManifestProperty.AdMarkers.

  • include_iframe_only_stream (Union[bool, IResolvable, None]) – CfnPackagingConfiguration.HlsManifestProperty.IncludeIframeOnlyStream.

  • manifest_name (Optional[str]) – CfnPackagingConfiguration.HlsManifestProperty.ManifestName.

  • program_date_time_interval_seconds (Union[int, float, None]) – CfnPackagingConfiguration.HlsManifestProperty.ProgramDateTimeIntervalSeconds.

  • repeat_ext_x_key (Union[bool, IResolvable, None]) – CfnPackagingConfiguration.HlsManifestProperty.RepeatExtXKey.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, None]) – CfnPackagingConfiguration.HlsManifestProperty.StreamSelection.

Link

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

Attributes

ad_markers

CfnPackagingConfiguration.HlsManifestProperty.AdMarkers.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-admarkers

Return type

Optional[str]

include_iframe_only_stream

CfnPackagingConfiguration.HlsManifestProperty.IncludeIframeOnlyStream.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-includeiframeonlystream

Return type

Union[bool, IResolvable, None]

manifest_name

CfnPackagingConfiguration.HlsManifestProperty.ManifestName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-manifestname

Return type

Optional[str]

program_date_time_interval_seconds

CfnPackagingConfiguration.HlsManifestProperty.ProgramDateTimeIntervalSeconds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-programdatetimeintervalseconds

Return type

Union[int, float, None]

repeat_ext_x_key

CfnPackagingConfiguration.HlsManifestProperty.RepeatExtXKey.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-repeatextxkey

Return type

Union[bool, IResolvable, None]

stream_selection

CfnPackagingConfiguration.HlsManifestProperty.StreamSelection.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-streamselection

Return type

Union[IResolvable, StreamSelectionProperty, None]

HlsPackageProperty

class CfnPackagingConfiguration.HlsPackageProperty(*, hls_manifests, encryption=None, segment_duration_seconds=None, use_audio_rendition_group=None)

Bases: object

Parameters
  • hls_manifests (Union[IResolvable, Sequence[Union[IResolvable, HlsManifestProperty]]]) – CfnPackagingConfiguration.HlsPackageProperty.HlsManifests.

  • encryption (Union[IResolvable, HlsEncryptionProperty, None]) – CfnPackagingConfiguration.HlsPackageProperty.Encryption.

  • segment_duration_seconds (Union[int, float, None]) – CfnPackagingConfiguration.HlsPackageProperty.SegmentDurationSeconds.

  • use_audio_rendition_group (Union[bool, IResolvable, None]) – CfnPackagingConfiguration.HlsPackageProperty.UseAudioRenditionGroup.

Link

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

Attributes

encryption

CfnPackagingConfiguration.HlsPackageProperty.Encryption.

Link

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

Return type

Union[IResolvable, HlsEncryptionProperty, None]

hls_manifests

CfnPackagingConfiguration.HlsPackageProperty.HlsManifests.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, HlsManifestProperty]]]

segment_duration_seconds

CfnPackagingConfiguration.HlsPackageProperty.SegmentDurationSeconds.

Link

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

Return type

Union[int, float, None]

use_audio_rendition_group

CfnPackagingConfiguration.HlsPackageProperty.UseAudioRenditionGroup.

Link

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

Return type

Union[bool, IResolvable, None]

MssEncryptionProperty

class CfnPackagingConfiguration.MssEncryptionProperty(*, speke_key_provider)

Bases: object

Parameters

speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty]) – CfnPackagingConfiguration.MssEncryptionProperty.SpekeKeyProvider.

Link

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

Attributes

speke_key_provider

CfnPackagingConfiguration.MssEncryptionProperty.SpekeKeyProvider.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssencryption.html#cfn-mediapackage-packagingconfiguration-mssencryption-spekekeyprovider

Return type

Union[IResolvable, SpekeKeyProviderProperty]

MssManifestProperty

class CfnPackagingConfiguration.MssManifestProperty(*, manifest_name=None, stream_selection=None)

Bases: object

Parameters
  • manifest_name (Optional[str]) – CfnPackagingConfiguration.MssManifestProperty.ManifestName.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, None]) – CfnPackagingConfiguration.MssManifestProperty.StreamSelection.

Link

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

Attributes

manifest_name

CfnPackagingConfiguration.MssManifestProperty.ManifestName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssmanifest.html#cfn-mediapackage-packagingconfiguration-mssmanifest-manifestname

Return type

Optional[str]

stream_selection

CfnPackagingConfiguration.MssManifestProperty.StreamSelection.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssmanifest.html#cfn-mediapackage-packagingconfiguration-mssmanifest-streamselection

Return type

Union[IResolvable, StreamSelectionProperty, None]

MssPackageProperty

class CfnPackagingConfiguration.MssPackageProperty(*, mss_manifests, encryption=None, segment_duration_seconds=None)

Bases: object

Parameters
  • mss_manifests (Union[IResolvable, Sequence[Union[IResolvable, MssManifestProperty]]]) – CfnPackagingConfiguration.MssPackageProperty.MssManifests.

  • encryption (Union[IResolvable, MssEncryptionProperty, None]) – CfnPackagingConfiguration.MssPackageProperty.Encryption.

  • segment_duration_seconds (Union[int, float, None]) – CfnPackagingConfiguration.MssPackageProperty.SegmentDurationSeconds.

Link

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

Attributes

encryption

CfnPackagingConfiguration.MssPackageProperty.Encryption.

Link

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

Return type

Union[IResolvable, MssEncryptionProperty, None]

mss_manifests

CfnPackagingConfiguration.MssPackageProperty.MssManifests.

Link

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

Return type

Union[IResolvable, List[Union[IResolvable, MssManifestProperty]]]

segment_duration_seconds

CfnPackagingConfiguration.MssPackageProperty.SegmentDurationSeconds.

Link

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

Return type

Union[int, float, None]

SpekeKeyProviderProperty

class CfnPackagingConfiguration.SpekeKeyProviderProperty(*, role_arn, system_ids, url)

Bases: object

Parameters
  • role_arn (str) – CfnPackagingConfiguration.SpekeKeyProviderProperty.RoleArn.

  • system_ids (Sequence[str]) – CfnPackagingConfiguration.SpekeKeyProviderProperty.SystemIds.

  • url (str) – CfnPackagingConfiguration.SpekeKeyProviderProperty.Url.

Link

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

Attributes

role_arn

CfnPackagingConfiguration.SpekeKeyProviderProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-rolearn

Return type

str

system_ids

CfnPackagingConfiguration.SpekeKeyProviderProperty.SystemIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-systemids

Return type

List[str]

url

CfnPackagingConfiguration.SpekeKeyProviderProperty.Url.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-url

Return type

str

StreamSelectionProperty

class CfnPackagingConfiguration.StreamSelectionProperty(*, max_video_bits_per_second=None, min_video_bits_per_second=None, stream_order=None)

Bases: object

Parameters
  • max_video_bits_per_second (Union[int, float, None]) – CfnPackagingConfiguration.StreamSelectionProperty.MaxVideoBitsPerSecond.

  • min_video_bits_per_second (Union[int, float, None]) – CfnPackagingConfiguration.StreamSelectionProperty.MinVideoBitsPerSecond.

  • stream_order (Optional[str]) – CfnPackagingConfiguration.StreamSelectionProperty.StreamOrder.

Link

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

Attributes

max_video_bits_per_second

CfnPackagingConfiguration.StreamSelectionProperty.MaxVideoBitsPerSecond.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-maxvideobitspersecond

Return type

Union[int, float, None]

min_video_bits_per_second

CfnPackagingConfiguration.StreamSelectionProperty.MinVideoBitsPerSecond.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-minvideobitspersecond

Return type

Union[int, float, None]

stream_order

CfnPackagingConfiguration.StreamSelectionProperty.StreamOrder.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-streamorder

Return type

Optional[str]