Interface IMediaConvertCreateJobProps
Properties for creating a MediaConvert Job.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMediaConvertCreateJobProps : ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IMediaConvertCreateJobProps
Inherits ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Remarks
See the CreateJob API for complete documentation
See: https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobspost
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
Properties
Create |
The input data for the MediaConvert Create Job invocation. |
Properties
CreateJobRequest
The input data for the MediaConvert Create Job invocation.
IDictionary<string, object> CreateJobRequest { get; }
Property Value
System.