AWS::IoT::JobUse the AWS::IoT::Job resource to declare an AWS IoT job. A job can be used to define a set of remote operations that are sent to and run on one or more devices (things or thing groups) connected to AWS IoT.
16 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
JobId | string | RequiredCreate-only |
Targets | Array<string> | RequiredCreate-only |
AbortConfig | AbortConfig | |
Description | string | |
DestinationPackageVersions | Array<string> | Create-only |
Document | string | Create-onlyWrite-only |
DocumentParameters | object | Create-only |
DocumentSource | string | Create-only |
JobExecutionsRetryConfig | JobExecutionsRetryConfig | Create-only |
JobExecutionsRolloutConfig | JobExecutionsRolloutConfig | |
JobTemplateArn | string | Create-only |
PresignedUrlConfig | PresignedUrlConfig | |
SchedulingConfig | SchedulingConfig | Create-only |
Tags | Array<Tag> | |
TargetSelection | string | Create-only |
TimeoutConfig | TimeoutConfig |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the job. |
CreatedAt | string | The time when the job was created, in ISO 8601 date-time format. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::Job
Resources:
MyResource:
Type: AWS::IoT::Job
Properties:
JobId: "my-jobid"
Targets: []
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iot:CreateJobiot:DescribeJobiot:TagResourceiot:ListTagsForResourceiot:GetPackageVersioniam:PassRoles3:GetObjectiot:DescribeJobiot:ListTagsForResourceiot:UpdateJobiot:DescribeJobiot:TagResourceiot:UntagResourceiot:ListTagsForResourceiam:PassRoleiot:DeleteJobiot:DescribeJobiot:ListJobsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
JobIdTargetsDocumentDocumentSourceTargetSelectionJobTemplateArnDocumentParametersSchedulingConfigDestinationPackageVersionsJobExecutionsRetryConfig