provisioning_template
Gets an individual provisioning_template
resource
Overview
Name | provisioning_template |
Type | Resource |
Description | provisioning_template |
Id | awscc.iot.provisioning_template |
Fields
Name | Datatype | Description |
---|---|---|
template_arn | string | |
template_name | string | |
description | string | |
enabled | boolean | |
provisioning_role_arn | string | |
template_body | string | |
template_type | string | |
pre_provisioning_hook | object | |
tags | array | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
template_arn,
template_name,
description,
enabled,
provisioning_role_arn,
template_body,
template_type,
pre_provisioning_hook,
tags
FROM awscc.iot.provisioning_template
WHERE data__Identifier = '<TemplateName>';
Permissions
To operate on the provisioning_template
resource, the following permissions are required:
Read
iot:DescribeProvisioningTemplate,
iot:ListTagsForResource
Update
iam:GetRole,
iam:PassRole,
iot:UpdateProvisioningTemplate,
iot:CreateProvisioningTemplateVersion,
iot:ListProvisioningTemplateVersions,
iot:DeleteProvisioningTemplateVersion,
iot:DescribeProvisioningTemplate,
iot:TagResource,
iot:UntagResource,
iot:ListTagsForResource
Delete
iot:DeleteProvisioningTemplate,
iot:DescribeProvisioningTemplate