AWS::IoT::ProvisioningTemplateCreates a fleet provisioning template.
8 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ProvisioningRoleArn | string | Required |
TemplateBody | string | Required |
Description | string | |
Enabled | boolean | |
PreProvisioningHook | ProvisioningHook | |
Tags | Array<Tag> | |
TemplateName | string | Create-only |
TemplateType | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
TemplateArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::ProvisioningTemplate
Resources:
MyResource:
Type: AWS::IoT::ProvisioningTemplate
Properties:
ProvisioningRoleArn: "arn:aws:service:region:account:resource"
TemplateBody: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:GetRoleiam:PassRoleiot:CreateProvisioningTemplateiot:DescribeProvisioningTemplateiot:TagResourceiot:ListTagsForResourcekms:Decryptiot:DescribeProvisioningTemplateiot:ListTagsForResourcekms:Decryptiam:GetRoleiam:PassRoleiot:UpdateProvisioningTemplateiot:CreateProvisioningTemplateVersioniot:ListProvisioningTemplateVersionsiot:DeleteProvisioningTemplateVersioniot:DescribeProvisioningTemplateiot:TagResourceiot:DeleteProvisioningTemplateiot:DescribeProvisioningTemplatekms:Decryptiot:ListProvisioningTemplatesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterTemplateNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TemplateNameTemplateType