Class CfnJobTemplate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediaconvert.CfnJobTemplate
- All Implemented Interfaces:
IInspectable,ITaggable,IJobTemplateRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:43.392Z")
@Stability(Stable)
public class CfnJobTemplate
extends CfnResource
implements IInspectable, IJobTemplateRef, ITaggable
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAccelerated transcoding can significantly speed up jobs with long, visually complex content.static final classA fluent builder forCfnJobTemplate.static interfaceOptional.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconvert.IJobTemplateRef
IJobTemplateRef.Jsii$Default, IJobTemplateRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnJobTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnJobTemplate(software.amazon.jsii.JsiiObjectRef objRef) CfnJobTemplate(software.constructs.Construct scope, String id, CfnJobTemplateProps props) -
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.A reference to a JobTemplate resource.getName()Name of the output group.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()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidAccelerated transcoding can significantly speed up jobs with long, visually complex content.voidAccelerated transcoding can significantly speed up jobs with long, visually complex content.voidsetCategory(String value) Optional.voidsetDescription(String value) Optional.voidsetHopDestinations(List<Object> value) Optional.voidsetHopDestinations(IResolvable value) Optional.voidName of the output group.voidsetPriority(Number value) Specify the relative priority for this job.voidOptional.voidsetSettingsJson(Object value) Specify, in JSON format, the transcoding job settings for this job template.voidsetStatusUpdateInterval(String value) Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.voidsetTagsRaw(Object value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnJobTemplateProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin 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. -
getAttrId
-
getAttrName
The name of the job template, such asStreaming stack DASH. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getJobTemplateRef
A reference to a JobTemplate resource.- Specified by:
getJobTemplateRefin interfaceIJobTemplateRef
-
getTags
Tag Manager which manages the tags for this resource. -
getSettingsJson
Specify, in JSON format, the transcoding job settings for this job template. -
setSettingsJson
Specify, in JSON format, the transcoding job settings for this job template. -
getAccelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content.Returns union: either
IResolvableorCfnJobTemplate.AccelerationSettingsProperty -
setAccelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content. -
setAccelerationSettings
@Stability(Stable) public void setAccelerationSettings(@Nullable CfnJobTemplate.AccelerationSettingsProperty value) Accelerated transcoding can significantly speed up jobs with long, visually complex content. -
getCategory
Optional. -
setCategory
Optional. -
getDescription
Optional. -
setDescription
Optional. -
getHopDestinations
Optional.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnJobTemplate.HopDestinationProperty> -
setHopDestinations
Optional. -
setHopDestinations
Optional. -
getName
Name of the output group. -
setName
Name of the output group. -
getPriority
Specify the relative priority for this job. -
setPriority
Specify the relative priority for this job. -
getQueue
Optional. -
setQueue
Optional. -
getStatusUpdateInterval
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. -
setStatusUpdateInterval
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-