class CfnPresetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaConvert.Mixins.CfnPresetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediaconvert/mixins#CfnPresetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.mediaconvert.mixins.CfnPresetPropsMixin |
Python | aws_cdk.mixins_preview.aws_mediaconvert.mixins.CfnPresetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_mediaconvert » mixins » CfnPresetPropsMixin |
Implements
IMixin
Extends
Mixin
The 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 SettingsJson property, 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 also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as mediaconvert_mixins } from '@aws-cdk/mixins-preview/aws-mediaconvert';
declare const settingsJson: any;
declare const tags: any;
const cfnPresetPropsMixin = new mediaconvert_mixins.CfnPresetPropsMixin({
category: 'category',
description: 'description',
name: 'name',
settingsJson: settingsJson,
tags: tags,
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnPresetPropsMixin(props: CfnPresetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Preset Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaConvert::Preset.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript