AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaConvert::Preset

CfnPreset

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](https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-presets.html) in the ** .

Import

import { CfnPreset } from 'aws-cdk-lib/aws-mediaconvert';

Or use the module namespace:

import * as mediaconvert from 'aws-cdk-lib/aws-mediaconvert';
// mediaconvert.CfnPreset

Properties

Configuration passed to the constructor as CfnPresetProps.

settingsJsonRequired
any

Specify, in JSON format, the transcoding job settings for this output preset. 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](https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-presets.html) in the ** .

categoryOptional
string

The new category for the preset, if you are changing it.

descriptionOptional
string

The new description for the preset, if you are changing it.

nameOptional
string

The name of the preset that you are modifying.

tagsOptional
any

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-mediaconvert
CFN TypeAWS::MediaConvert::Preset
Properties5

Related Constructs

External Links