CfnPackagingGroupPropsMixin
- class aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnPackagingGroupPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a packaging group.
The packaging group holds one or more packaging configurations. When you create an asset, you specify the packaging group associated with the asset. The asset has playback endpoints for each packaging configuration within the group.
- See:
- CloudformationResource:
AWS::MediaPackage::PackagingGroup
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins cfn_packaging_group_props_mixin = mediapackage_mixins.CfnPackagingGroupPropsMixin(mediapackage_mixins.CfnPackagingGroupMixinProps( authorization=mediapackage_mixins.CfnPackagingGroupPropsMixin.AuthorizationProperty( cdn_identifier_secret="cdnIdentifierSecret", secrets_role_arn="secretsRoleArn" ), egress_access_logs=mediapackage_mixins.CfnPackagingGroupPropsMixin.LogConfigurationProperty( log_group_name="logGroupName" ), id="id", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaPackage::PackagingGroup.- Parameters:
props (
Union[CfnPackagingGroupMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['authorization', 'egressAccessLogs', 'id', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
LogConfigurationProperty
- class CfnPackagingGroupPropsMixin.LogConfigurationProperty(*, log_group_name=None)
Bases:
objectSets a custom Amazon CloudWatch log group name for egress logs.
If a log group name isn’t specified, the default name is used: /aws/MediaPackage/EgressAccessLogs.
- Parameters:
log_group_name (
Optional[str]) – Sets a custom Amazon CloudWatch log group name for egress logs. If a log group name isn’t specified, the default name is used: /aws/MediaPackage/EgressAccessLogs.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins log_configuration_property = mediapackage_mixins.CfnPackagingGroupPropsMixin.LogConfigurationProperty( log_group_name="logGroupName" )
Attributes
- log_group_name
Sets a custom Amazon CloudWatch log group name for egress logs.
If a log group name isn’t specified, the default name is used: /aws/MediaPackage/EgressAccessLogs.