AWS::IoT::ProvisioningTemplateCreates a fleet provisioning template.
import { CfnProvisioningTemplate } from 'aws-cdk-lib/aws-iot';Or use the module namespace:
import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnProvisioningTemplateConfiguration passed to the constructor as CfnProvisioningTemplateProps.
provisioningRoleArnRequiredstring | IRoleRefThe role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
templateBodyRequiredstringThe JSON formatted contents of the fleet provisioning template version.
descriptionOptionalstringThe description of the fleet provisioning template.
enabledOptionalboolean | IResolvableTrue to enable the fleet provisioning template, otherwise false.
preProvisioningHookOptionalIResolvable | ProvisioningHookPropertyCreates a pre-provisioning hook template.
tagsOptionalCfnTag[]Metadata that can be used to manage the fleet provisioning template.
templateNameOptionalstringThe name of the fleet provisioning template.
templateTypeOptionalstringThe type of the provisioning template.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-iotAWS::IoT::ProvisioningTemplate