CfnPresetPropsMixin
- class aws_cdk.mixins_preview.aws_mediaconvert.mixins.CfnPresetPropsMixin(props, *, strategy=None)
Bases:
MixinThe AWS::MediaConvert::Preset resource is an AWS Elemental MediaConvert resource type that you can use to specify encoding settings for a single output in a transcoding job.
When you declare this entity in your CloudFormation template, you pass in your transcoding job settings in JSON or YAML format. This settings specification must be formed in a particular way that conforms to AWS Elemental MediaConvert job validation. For more information about creating an output preset model for the
SettingsJsonproperty, see the Remarks section later in this topic.For more information about output MediaConvert presets, see Working with AWS Elemental MediaConvert Output Presets in the ** .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html
- CloudformationResource:
AWS::MediaConvert::Preset
- 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_mediaconvert import mixins as mediaconvert_mixins # settings_json: Any # tags: Any cfn_preset_props_mixin = mediaconvert_mixins.CfnPresetPropsMixin(mediaconvert_mixins.CfnPresetMixinProps( category="category", description="description", name="name", settings_json=settings_json, tags=tags ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaConvert::Preset.- Parameters:
props (
Union[CfnPresetMixinProps,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 = ['category', 'description', 'name', 'settingsJson', '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