CfnJobTemplateProps
- class aws_cdk.aws_mediaconvert.CfnJobTemplateProps(*, settings_json, acceleration_settings=None, category=None, description=None, hop_destinations=None, name=None, priority=None, queue=None, status_update_interval=None, tags=None)
Bases:
object
Properties for defining a
CfnJobTemplate
.- Parameters:
settings_json (
Any
) – 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 ** .acceleration_settings (
Union
[IResolvable
,AccelerationSettingsProperty
,Dict
[str
,Any
],None
]) – 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 .category (
Optional
[str
]) – Optional. A category for the job template you are creatingdescription (
Optional
[str
]) – Optional. A description of the job template you are creating.hop_destinations (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,HopDestinationProperty
,Dict
[str
,Any
]]],None
]) – 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 .name (
Optional
[str
]) – The name of the job template you are creating.priority (
Union
[int
,float
,None
]) – 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: 50queue (
Optional
[str
]) – 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.status_update_interval (
Optional
[str
]) – 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_600tags (
Optional
[Any
]) – An array of key-value pairs to apply to this resource. For more information, see Tag .
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_mediaconvert as mediaconvert # settings_json: Any # tags: Any cfn_job_template_props = mediaconvert.CfnJobTemplateProps( settings_json=settings_json, # the properties below are optional acceleration_settings=mediaconvert.CfnJobTemplate.AccelerationSettingsProperty( mode="mode" ), category="category", description="description", hop_destinations=[mediaconvert.CfnJobTemplate.HopDestinationProperty( priority=123, queue="queue", wait_minutes=123 )], name="name", priority=123, queue="queue", status_update_interval="statusUpdateInterval", tags=tags )
Attributes
- acceleration_settings
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 .
- category
Optional.
A category for the job template you are creating
- description
Optional.
A description of the job template you are creating.
- hop_destinations
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 .
- name
The name of the job template you are creating.
- priority
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
- queue
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.
- settings_json
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 ** .
- status_update_interval
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