Class MediaConvertCreateJob
A Step Functions Task to create a job in MediaConvert.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MediaConvertCreateJob : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class MediaConvertCreateJob
Inherits TaskStateBase
Implements IChainable, INextable
Remarks
The JobConfiguration/Request Syntax is defined in the Parameters in the Task State
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-mediaconvert.html
Response syntax: see CreateJobResponse schema https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-response-examples
ExampleMetadata: infused
Examples
new MediaConvertCreateJob(this, "CreateJob", new MediaConvertCreateJobProps {
CreateJobRequest = new Dictionary<string, object> {
{ "Role", "arn:aws:iam::123456789012:role/MediaConvertRole" },
{ "Settings", new Dictionary<string, IDictionary<string, object>[]> {
{ "OutputGroups", new [] { new Struct {
Outputs = new [] { new Struct {
ContainerSettings = new Struct {
Container = "MP4"
},
VideoDescription = new Struct {
CodecSettings = new Struct {
Codec = "H_264",
H264Settings = new Struct {
MaxBitrate = 1000,
RateControlMode = "QVBR",
SceneChangeDetect = "TRANSITION_DETECTION"
}
}
},
AudioDescriptions = new [] { new Struct {
CodecSettings = new Struct {
Codec = "AAC",
AacSettings = new Struct {
Bitrate = 96000,
CodingMode = "CODING_MODE_2_0",
SampleRate = 48000
}
}
} }
} },
OutputGroupSettings = new Struct {
Type = "FILE_GROUP_SETTINGS",
FileGroupSettings = new Struct {
Destination = "s3://EXAMPLE-DESTINATION-BUCKET/"
}
}
} } },
{ "Inputs", new [] { new Struct {
AudioSelectors = new Struct {
Audio Selector 1 = new Struct {
DefaultSelection = "DEFAULT"
}
},
FileInput = "s3://EXAMPLE-SOURCE-BUCKET/EXAMPLE-SOURCE_FILE"
} } }
} }
},
IntegrationPattern = IntegrationPattern.RUN_JOB
});
Synopsis
Constructors
MediaConvertCreateJob(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
MediaConvertCreateJob(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
MediaConvertCreateJob(Construct, String, IMediaConvertCreateJobProps) |
Properties
TaskMetrics | |
TaskPolicies |
Constructors
MediaConvertCreateJob(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected MediaConvertCreateJob(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
MediaConvertCreateJob(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected MediaConvertCreateJob(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
MediaConvertCreateJob(Construct, String, IMediaConvertCreateJobProps)
public MediaConvertCreateJob(Construct scope, string id, IMediaConvertCreateJobProps props)
Parameters
- scope Constructs.Construct
- id System.String
Descriptive identifier for this chainable.
- props IMediaConvertCreateJobProps
Properties
TaskMetrics
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value