CreateJobTemplateRequest
¶
Source code in docs_src/capo_iot/types/create_job_template_request.py
destination_package_versions
instance-attribute
¶
destination_package_versions: NotRequired[DestinationPackageVersions]
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
document
instance-attribute
¶
document: NotRequired[JobDocument]
The job document. Required if you don't specify a value for documentSource.
document_source
instance-attribute
¶
document_source: NotRequired[JobDocumentSource]
An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document.
For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
job_arn
instance-attribute
¶
job_arn: NotRequired[JobArn]
The ARN of the job to use as the basis for the job template.
job_executions_retry_config
instance-attribute
¶
job_executions_retry_config: NotRequired[JobExecutionsRetryConfig]
Allows you to create the criteria to retry a job.
job_executions_rollout_config
instance-attribute
¶
job_executions_rollout_config: NotRequired[JobExecutionsRolloutConfig]
job_template_id
instance-attribute
¶
job_template_id: JobTemplateId
A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here.
maintenance_windows
instance-attribute
¶
maintenance_windows: NotRequired[MaintenanceWindows]
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.