@Stability(value=Stable) public static final class CfnJobTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnJobTemplate>
CfnJobTemplate.| Modifier and Type | Method and Description |
|---|---|
CfnJobTemplate.Builder |
abortConfig(Object abortConfig)
The criteria that determine when and how a job abort takes place.
|
CfnJobTemplate |
build() |
static CfnJobTemplate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnJobTemplate.Builder |
description(String description)
A description of the job template.
|
CfnJobTemplate.Builder |
document(String document)
The job document.
|
CfnJobTemplate.Builder |
documentSource(String documentSource)
An S3 link to the job document to use in the template.
|
CfnJobTemplate.Builder |
jobArn(String jobArn)
The ARN of the job to use as the basis for the job template.
|
CfnJobTemplate.Builder |
jobExecutionsRetryConfig(Object jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
CfnJobTemplate.Builder |
jobExecutionsRolloutConfig(Object jobExecutionsRolloutConfig)
Allows you to create a staged rollout of a job.
|
CfnJobTemplate.Builder |
jobTemplateId(String jobTemplateId)
A unique identifier for the job template.
|
CfnJobTemplate.Builder |
presignedUrlConfig(Object presignedUrlConfig)
Configuration for pre-signed S3 URLs.
|
CfnJobTemplate.Builder |
tags(List<? extends CfnTag> tags)
Metadata that can be used to manage the job template.
|
CfnJobTemplate.Builder |
timeoutConfig(Object timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
@Stability(value=Stable) public static CfnJobTemplate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnJobTemplate.Builder.@Stability(value=Stable) public CfnJobTemplate.Builder description(String description)
description - A description of the job template. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder jobTemplateId(String jobTemplateId)
We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
jobTemplateId - A unique identifier for the job template. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder abortConfig(Object abortConfig)
abortConfig - The criteria that determine when and how a job abort takes place. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder document(String document)
Required if you don't specify a value for documentSource .
document - The job document. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder documentSource(String documentSource)
Required if you don't specify a value for document .
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/ *bucket* / *key* }where bucket is your bucket name and key is the object in the bucket to which you are linking.
documentSource - An S3 link to the job document to use in the template. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder jobArn(String jobArn)
jobArn - The ARN of the job to use as the basis for the job template. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder jobExecutionsRetryConfig(Object jobExecutionsRetryConfig)
jobExecutionsRetryConfig - Allows you to create the criteria to retry a job. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder jobExecutionsRolloutConfig(Object jobExecutionsRolloutConfig)
jobExecutionsRolloutConfig - Allows you to create a staged rollout of a job. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder presignedUrlConfig(Object presignedUrlConfig)
presignedUrlConfig - Configuration for pre-signed S3 URLs. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder tags(List<? extends CfnTag> tags)
tags - Metadata that can be used to manage the job template. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate.Builder timeoutConfig(Object timeoutConfig)
A timer is started when the job execution status is set to IN_PROGRESS . If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT .
timeoutConfig - Specifies the amount of time each device has to finish its execution of the job. This parameter is required.this@Stability(value=Stable) public CfnJobTemplate build()
build in interface software.amazon.jsii.Builder<CfnJobTemplate>Copyright © 2022. All rights reserved.