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.iot.CfnJobTemplate
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-12T12:32:04.128Z")
@Stability(Stable)
public class CfnJobTemplate
extends CfnResource
implements IInspectable, ITaggable
Represents a job template.
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.iot.*; Object abortConfig; Object jobExecutionsRolloutConfig; Object presignedUrlConfig; Object timeoutConfig; CfnJobTemplate cfnJobTemplate = CfnJobTemplate.Builder.create(this, "MyCfnJobTemplate") .description("description") .jobTemplateId("jobTemplateId") // the properties below are optional .abortConfig(abortConfig) .destinationPackageVersions(List.of("destinationPackageVersions")) .document("document") .documentSource("documentSource") .jobArn("jobArn") .jobExecutionsRetryConfig(JobExecutionsRetryConfigProperty.builder() .retryCriteriaList(List.of(RetryCriteriaProperty.builder() .failureType("failureType") .numberOfRetries(123) .build())) .build()) .jobExecutionsRolloutConfig(jobExecutionsRolloutConfig) .maintenanceWindows(List.of(MaintenanceWindowProperty.builder() .durationInMinutes(123) .startTime("startTime") .build())) .presignedUrlConfig(presignedUrlConfig) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .timeoutConfig(timeoutConfig) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The criteria that determine when and how a job abort takes place.static interface
The criteria that determine when and how a job abort takes place.static final class
A fluent builder forCfnJobTemplate
.static interface
Allows you to create an exponential rate of rollout for a job.static interface
The configuration that determines how many retries are allowed for each failure type for a job.static interface
Allows you to create a staged rollout of a job.static interface
An optional configuration within theSchedulingConfig
to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.static interface
Configuration for pre-signed S3 URLs.static interface
Allows you to define a criteria to initiate the increase in rate of rollout for a job.static interface
The criteria that determines how many retries are allowed for each failure type for a job.static interface
Specifies the amount of time each device has to finish its execution of the job.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnJobTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnJobTemplate
(software.amazon.jsii.JsiiObjectRef objRef) CfnJobTemplate
(software.constructs.Construct scope, String id, CfnJobTemplateProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe criteria that determine when and how a job abort takes place.The ARN of the job to use as the basis for the job template.A description of the job template.The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ($package
) when the job successfully completes.The job document.An S3 link, or S3 object URL, to the job document.The ARN of the job to use as the basis for the job template.Allows you to create the criteria to retry a job.Allows you to create a staged rollout of a job.A unique identifier for the job template.An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.Configuration for pre-signed S3 URLs.getTags()
Tag Manager which manages the tags for this resource.Metadata that can be used to manage the job template.Specifies the amount of time each device has to finish its execution of the job.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAbortConfig
(Object value) The criteria that determine when and how a job abort takes place.void
setDescription
(String value) A description of the job template.void
setDestinationPackageVersions
(List<String> value) The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ($package
) when the job successfully completes.void
setDocument
(String value) The job document.void
setDocumentSource
(String value) An S3 link, or S3 object URL, to the job document.void
The ARN of the job to use as the basis for the job template.void
Allows you to create the criteria to retry a job.void
Allows you to create the criteria to retry a job.void
Allows you to create a staged rollout of a job.void
setJobTemplateId
(String value) A unique identifier for the job template.void
setMaintenanceWindows
(List<Object> value) An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.void
setMaintenanceWindows
(IResolvable value) An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.void
setPresignedUrlConfig
(Object value) Configuration for pre-signed S3 URLs.void
setTagsRaw
(List<CfnTag> value) Metadata that can be used to manage the job template.void
setTimeoutConfig
(Object value) Specifies the amount of time each device has to finish its execution of the job.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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The ARN of the job to use as the basis for the job template. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDescription
A description of the job template. -
setDescription
A description of the job template. -
getJobTemplateId
A unique identifier for the job template. -
setJobTemplateId
A unique identifier for the job template. -
getAbortConfig
The criteria that determine when and how a job abort takes place. -
setAbortConfig
The criteria that determine when and how a job abort takes place. -
getDestinationPackageVersions
The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ($package
) when the job successfully completes. -
setDestinationPackageVersions
The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ($package
) when the job successfully completes. -
getDocument
The job document. -
setDocument
The job document. -
getDocumentSource
An S3 link, or S3 object URL, to the job document. -
setDocumentSource
An S3 link, or S3 object URL, to the job document. -
getJobArn
The ARN of the job to use as the basis for the job template. -
setJobArn
The ARN of the job to use as the basis for the job template. -
getJobExecutionsRetryConfig
Allows you to create the criteria to retry a job. -
setJobExecutionsRetryConfig
Allows you to create the criteria to retry a job. -
setJobExecutionsRetryConfig
@Stability(Stable) public void setJobExecutionsRetryConfig(@Nullable CfnJobTemplate.JobExecutionsRetryConfigProperty value) Allows you to create the criteria to retry a job. -
getJobExecutionsRolloutConfig
Allows you to create a staged rollout of a job. -
setJobExecutionsRolloutConfig
Allows you to create a staged rollout of a job. -
getMaintenanceWindows
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job. -
setMaintenanceWindows
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job. -
setMaintenanceWindows
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job. -
getPresignedUrlConfig
Configuration for pre-signed S3 URLs. -
setPresignedUrlConfig
Configuration for pre-signed S3 URLs. -
getTagsRaw
Metadata that can be used to manage the job template. -
setTagsRaw
Metadata that can be used to manage the job template. -
getTimeoutConfig
Specifies the amount of time each device has to finish its execution of the job. -
setTimeoutConfig
Specifies the amount of time each device has to finish its execution of the job.
-