Class CfnJobTemplate
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::MediaConvert::JobTemplate
.
The AWS::MediaConvert::JobTemplate resource is an AWS Elemental MediaConvert resource type that you can use to generate transcoding jobs.
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 a job template model for the SettingsJson
property, see the Remarks section later in this topic.
For information about job templates, see Working with AWS Elemental MediaConvert Job Templates in the ** .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediaconvert.*; Object settingsJson; Object tags; CfnJobTemplate cfnJobTemplate = CfnJobTemplate.Builder.create(this, "MyCfnJobTemplate") .settingsJson(settingsJson) // the properties below are optional .accelerationSettings(AccelerationSettingsProperty.builder() .mode("mode") .build()) .category("category") .description("description") .hopDestinations(List.of(HopDestinationProperty.builder() .priority(123) .queue("queue") .waitMinutes(123) .build())) .name("name") .priority(123) .queue("queue") .statusUpdateInterval("statusUpdateInterval") .tags(tags) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Accelerated transcoding can significantly speed up jobs with long, visually complex content.static final class
A fluent builder forCfnJobTemplate
.static interface
Optional.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnJobTemplate
(Construct scope, String id, CfnJobTemplateProps props) Create a newAWS::MediaConvert::JobTemplate
.protected
CfnJobTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnJobTemplate
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionAccelerated transcoding can significantly speed up jobs with long, visually complex content.The Amazon Resource Name (ARN) of the job template, such asarn:aws:mediaconvert:us-west-2:123456789012
.The name of the job template, such asStreaming stack DASH
.Optional.Optional.Optional.getName()
The name of the job template you are creating.Specify the relative priority for this job.getQueue()
Optional.Specify, in JSON format, the transcoding job settings for this job template.Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.getTags()
An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
Accelerated transcoding can significantly speed up jobs with long, visually complex content.void
Accelerated transcoding can significantly speed up jobs with long, visually complex content.void
setCategory
(String value) Optional.void
setDescription
(String value) Optional.void
setHopDestinations
(List<Object> value) Optional.void
setHopDestinations
(IResolvable value) Optional.void
The name of the job template you are creating.void
setPriority
(Number value) Specify the relative priority for this job.void
Optional.void
setSettingsJson
(Object value) Specify, in JSON format, the transcoding job settings for this job template.void
setStatusUpdateInterval
(String value) Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnJobTemplate
protected CfnJobTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnJobTemplate
protected CfnJobTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnJobTemplate
@Stability(Stable) public CfnJobTemplate(@NotNull Construct scope, @NotNull String id, @NotNull CfnJobTemplateProps props) Create a newAWS::MediaConvert::JobTemplate
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the job template, such asarn:aws:mediaconvert:us-west-2:123456789012
. -
getAttrName
The name of the job template, such asStreaming stack DASH
. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getSettingsJson
Specify, in JSON format, the transcoding job settings for this job template.This specification must conform to the AWS Elemental MediaConvert job validation. For information about forming this specification, see the Remarks section later in this topic.
For more information about MediaConvert job templates, see Working with AWS Elemental MediaConvert Job Templates in the ** .
-
setSettingsJson
Specify, in JSON format, the transcoding job settings for this job template.This specification must conform to the AWS Elemental MediaConvert job validation. For information about forming this specification, see the Remarks section later in this topic.
For more information about MediaConvert job templates, see Working with AWS Elemental MediaConvert Job Templates in the ** .
-
getAccelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content.Outputs that use this feature incur pro-tier pricing. For information about feature limitations, For more information, see Job Limitations for Accelerated Transcoding in AWS Elemental MediaConvert in the AWS Elemental MediaConvert User Guide .
-
setAccelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content.Outputs that use this feature incur pro-tier pricing. For information about feature limitations, For more information, see Job Limitations for Accelerated Transcoding in AWS Elemental MediaConvert in the AWS Elemental MediaConvert User Guide .
-
setAccelerationSettings
@Stability(Stable) public void setAccelerationSettings(@Nullable CfnJobTemplate.AccelerationSettingsProperty value) Accelerated transcoding can significantly speed up jobs with long, visually complex content.Outputs that use this feature incur pro-tier pricing. For information about feature limitations, For more information, see Job Limitations for Accelerated Transcoding in AWS Elemental MediaConvert in the AWS Elemental MediaConvert User Guide .
-
getCategory
Optional.A category for the job template you are creating
-
setCategory
Optional.A category for the job template you are creating
-
getDescription
Optional.A description of the job template you are creating.
-
setDescription
Optional.A description of the job template you are creating.
-
getHopDestinations
Optional.Configuration for a destination queue to which the job can hop once a customer-defined minimum wait time has passed. For more information, see Setting Up Queue Hopping to Avoid Long Waits in the AWS Elemental MediaConvert User Guide .
-
setHopDestinations
Optional.Configuration for a destination queue to which the job can hop once a customer-defined minimum wait time has passed. For more information, see Setting Up Queue Hopping to Avoid Long Waits in the AWS Elemental MediaConvert User Guide .
-
setHopDestinations
Optional.Configuration for a destination queue to which the job can hop once a customer-defined minimum wait time has passed. For more information, see Setting Up Queue Hopping to Avoid Long Waits in the AWS Elemental MediaConvert User Guide .
-
getName
The name of the job template you are creating. -
setName
The name of the job template you are creating. -
getPriority
Specify the relative priority for this job.In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. Minimum: -50 Maximum: 50
-
setPriority
Specify the relative priority for this job.In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. Minimum: -50 Maximum: 50
-
getQueue
Optional.The queue that jobs created from this template are assigned to. Specify the Amazon Resource Name (ARN) of the queue. For example, arn:aws:mediaconvert:us-west-2:505474453218:queues/Default. If you don't specify this, jobs will go to the default queue.
-
setQueue
Optional.The queue that jobs created from this template are assigned to. Specify the Amazon Resource Name (ARN) of the queue. For example, arn:aws:mediaconvert:us-west-2:505474453218:queues/Default. If you don't specify this, jobs will go to the default queue.
-
getStatusUpdateInterval
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
Specify one of the following enums:
SECONDS_10
SECONDS_12
SECONDS_15
SECONDS_20
SECONDS_30
SECONDS_60
SECONDS_120
SECONDS_180
SECONDS_240
SECONDS_300
SECONDS_360
SECONDS_420
SECONDS_480
SECONDS_540
SECONDS_600
-
setStatusUpdateInterval
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
Specify one of the following enums:
SECONDS_10
SECONDS_12
SECONDS_15
SECONDS_20
SECONDS_30
SECONDS_60
SECONDS_120
SECONDS_180
SECONDS_240
SECONDS_300
SECONDS_360
SECONDS_420
SECONDS_480
SECONDS_540
SECONDS_600
-