Class MediaConvertCreateJob

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.stepfunctions.State
software.amazon.awscdk.services.stepfunctions.TaskStateBase
software.amazon.awscdk.services.stepfunctions.tasks.MediaConvertCreateJob
All Implemented Interfaces:
IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:17.794Z") @Stability(Stable) public class MediaConvertCreateJob extends TaskStateBase
A Step Functions Task to create a job in MediaConvert.

The JobConfiguration/Request Syntax is defined in the Parameters in the Task State

Example:

 MediaConvertCreateJob.Builder.create(this, "CreateJob")
         .createJobRequest(Map.of(
                 "Role", "arn:aws:iam::123456789012:role/MediaConvertRole",
                 "Settings", Map.of(
                         "OutputGroups", List.of(Map.of(
                                 "Outputs", List.of(Map.of(
                                         "ContainerSettings", Map.of(
                                                 "Container", "MP4"),
                                         "VideoDescription", Map.of(
                                                 "CodecSettings", Map.of(
                                                         "Codec", "H_264",
                                                         "H264Settings", Map.of(
                                                                 "MaxBitrate", 1000,
                                                                 "RateControlMode", "QVBR",
                                                                 "SceneChangeDetect", "TRANSITION_DETECTION"))),
                                         "AudioDescriptions", List.of(Map.of(
                                                 "CodecSettings", Map.of(
                                                         "Codec", "AAC",
                                                         "AacSettings", Map.of(
                                                                 "Bitrate", 96000,
                                                                 "CodingMode", "CODING_MODE_2_0",
                                                                 "SampleRate", 48000)))))),
                                 "OutputGroupSettings", Map.of(
                                         "Type", "FILE_GROUP_SETTINGS",
                                         "FileGroupSettings", Map.of(
                                                 "Destination", "s3://EXAMPLE-DESTINATION-BUCKET/")))),
                         "Inputs", List.of(Map.of(
                                 "AudioSelectors", Map.of(
                                         "Audio Selector 1", Map.of(
                                                 "DefaultSelection", "DEFAULT")),
                                 "FileInput", "s3://EXAMPLE-SOURCE-BUCKET/EXAMPLE-SOURCE_FILE")))))
         .integrationPattern(IntegrationPattern.RUN_JOB)
         .build();
 

See Also:
  • Constructor Details

    • MediaConvertCreateJob

      protected MediaConvertCreateJob(software.amazon.jsii.JsiiObjectRef objRef)
    • MediaConvertCreateJob

      protected MediaConvertCreateJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • MediaConvertCreateJob

      @Stability(Stable) public MediaConvertCreateJob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull MediaConvertCreateJobProps props)
      Parameters:
      scope - This parameter is required.
      id - Descriptive identifier for this chainable. This parameter is required.
      props - This parameter is required.
  • Method Details