JobTemplateArgs

data class JobTemplateArgs(val abortConfig: Output<AbortConfigPropertiesArgs>? = null, val description: Output<String>? = null, val destinationPackageVersions: Output<List<String>>? = null, val document: Output<String>? = null, val documentSource: Output<String>? = null, val jobArn: Output<String>? = null, val jobExecutionsRetryConfig: Output<JobExecutionsRetryConfigPropertiesArgs>? = null, val jobExecutionsRolloutConfig: Output<JobExecutionsRolloutConfigPropertiesArgs>? = null, val jobTemplateId: Output<String>? = null, val maintenanceWindows: Output<List<JobTemplateMaintenanceWindowArgs>>? = null, val presignedUrlConfig: Output<PresignedUrlConfigPropertiesArgs>? = null, val tags: Output<List<CreateOnlyTagArgs>>? = null, val timeoutConfig: Output<TimeoutConfigPropertiesArgs>? = null) : ConvertibleToJava<JobTemplateArgs>

Job templates enable you to preconfigure jobs so that you can deploy them to multiple sets of target devices.

Constructors

Link copied to clipboard
constructor(abortConfig: Output<AbortConfigPropertiesArgs>? = null, description: Output<String>? = null, destinationPackageVersions: Output<List<String>>? = null, document: Output<String>? = null, documentSource: Output<String>? = null, jobArn: Output<String>? = null, jobExecutionsRetryConfig: Output<JobExecutionsRetryConfigPropertiesArgs>? = null, jobExecutionsRolloutConfig: Output<JobExecutionsRolloutConfigPropertiesArgs>? = null, jobTemplateId: Output<String>? = null, maintenanceWindows: Output<List<JobTemplateMaintenanceWindowArgs>>? = null, presignedUrlConfig: Output<PresignedUrlConfigPropertiesArgs>? = null, tags: Output<List<CreateOnlyTagArgs>>? = null, timeoutConfig: Output<TimeoutConfigPropertiesArgs>? = null)

Properties

Link copied to clipboard

The criteria that determine when and how a job abort takes place.

Link copied to clipboard
val description: Output<String>? = null

A description of the Job Template.

Link copied to clipboard
val destinationPackageVersions: Output<List<String>>? = null

The package version Amazon Resource Names (ARNs) that are installed on the device’s reserved named shadow ( $package ) when the job successfully completes. Note: Up to 25 package version ARNS are allowed.

Link copied to clipboard
val document: Output<String>? = null

The job document. Required if you don't specify a value for documentSource.

Link copied to clipboard
val documentSource: Output<String>? = null

An S3 link to the job document to use in the template. Required if you don't specify a value for document.

Link copied to clipboard
val jobArn: Output<String>? = null

Optional for copying a JobTemplate from a pre-existing Job configuration.

Link copied to clipboard

Allows you to create the criteria to retry a job.

Link copied to clipboard

Allows you to create a staged rollout of a job.

Link copied to clipboard
val jobTemplateId: Output<String>? = null

A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.

Link copied to clipboard

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.

Link copied to clipboard

Configuration for pre-signed S3 URLs.

Link copied to clipboard
val tags: Output<List<CreateOnlyTagArgs>>? = null

Metadata that can be used to manage the JobTemplate.

Link copied to clipboard

Specifies the amount of time each device has to finish its execution of the job.

Functions

Link copied to clipboard
open override fun toJava(): JobTemplateArgs