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
Media |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Media |
Used by jsii to construct an instance of this class from DeputyProps |
Media |
Properties
Task |
|
Task |
Methods
Jsonata(Construct, String, IMedia |
A Step Functions Task to create a job in MediaConvert using JSONata. |
Json |
A Step Functions Task to create a job in MediaConvert using JSONPath. |
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. By Ref Value 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. Deputy Base. Deputy Props 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 IMedia
Convert Create Job Props
Properties
TaskMetrics
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value
Overrides
Methods
Jsonata(Construct, String, IMediaConvertCreateJobJsonataProps)
A Step Functions Task to create a job in MediaConvert using JSONata.
public static MediaConvertCreateJob Jsonata(Construct scope, string id, IMediaConvertCreateJobJsonataProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IMedia
Convert Create Job Jsonata Props
Returns
JsonPath(Construct, String, IMediaConvertCreateJobJsonPathProps)
A Step Functions Task to create a job in MediaConvert using JSONPath.
public static MediaConvertCreateJob JsonPath(Construct scope, string id, IMediaConvertCreateJobJsonPathProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IMedia
Convert Create Job Json Path Props
Returns