Class 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.
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConvert
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPreset : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPreset
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
When you declare this entity in your AWS 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html
CloudformationResource: AWS::MediaConvert::Preset
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConvert;
var settingsJson;
var tags;
var cfnPreset = new CfnPreset(this, "MyCfnPreset", new CfnPresetProps {
SettingsJson = settingsJson,
// the properties below are optional
Category = "category",
Description = "description",
Name = "name",
Tags = tags
});
Synopsis
Constructors
CfnPreset(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPreset(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPreset(Construct, String, ICfnPresetProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the output preset, such as |
AttrId | |
AttrName | The name of the output preset, such as |
Category | The new category for the preset, if you are changing it. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The new description for the preset, if you are changing it. |
Name | The name of the preset that you are modifying. |
SettingsJson | Specify, in JSON format, the transcoding job settings for this output preset. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPreset(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPreset(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPreset(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPreset(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPreset(Construct, String, ICfnPresetProps)
public CfnPreset(Construct scope, string id, ICfnPresetProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPresetProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the output preset, such as arn:aws:mediaconvert:us-west-2:123456789012
.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrName
The name of the output preset, such as HEVC high res
.
public virtual string AttrName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Name
Category
The new category for the preset, if you are changing it.
public virtual string Category { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The new description for the preset, if you are changing it.
public virtual string Description { get; set; }
Property Value
System.String
Name
The name of the preset that you are modifying.
public virtual string Name { get; set; }
Property Value
System.String
SettingsJson
Specify, in JSON format, the transcoding job settings for this output preset.
public virtual object SettingsJson { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual object TagsRaw { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>