Skip to content
v2.273.0

CfnPresetProps Struct ​

Properties for defining a CfnPreset.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconvert as mediaconvert } from 'aws-cdk-lib';

declare const settingsJson: any;
declare const tags: any;
const cfnPresetProps: mediaconvert.CfnPresetProps = {
  settingsJson: settingsJson,

  // the properties below are optional
  category: 'category',
  description: 'description',
  name: 'name',
  tags: tags,
};

Properties ​

categorystringcategorystrcategoryStringCategorystringCategory*string#
The new category for the preset, if you are changing it.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The new description for the preset, if you are changing it.
namestringnamestrnameStringNamestringName*string#
The name of the preset that you are modifying.
settingsJsonanysettings_jsonAnysettingsJsonObjectSettingsJsonobjectSettingsJsoninterface{}required#
Specify, in JSON format, the transcoding job settings for this output preset.
notes

This specification must conform to the AWS Elemental MediaConvert job validation. For information about forming this specification, see the Remarks section later in this topic.

For more information about MediaConvert output presets, see Working with AWS Elemental MediaConvert Output Presets in the ** .

tagsanytagsAnytagsObjectTagsobjectTagsinterface{}#
An array of key-value pairs to apply to this resource.

For more information, see Tag .

Used as props by ​