AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::ProvisioningTemplate

CfnProvisioningTemplate

Creates a fleet provisioning template.

Import

import { CfnProvisioningTemplate } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnProvisioningTemplate

Properties

Configuration passed to the constructor as CfnProvisioningTemplateProps.

provisioningRoleArnRequired
string | IRoleRef

The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.

templateBodyRequired
string

The JSON formatted contents of the fleet provisioning template version.

descriptionOptional
string

The description of the fleet provisioning template.

enabledOptional
boolean | IResolvable

True to enable the fleet provisioning template, otherwise false.

preProvisioningHookOptional
IResolvable | ProvisioningHookProperty

Creates a pre-provisioning hook template.

tagsOptional
CfnTag[]

Metadata that can be used to manage the fleet provisioning template.

templateNameOptional
string

The name of the fleet provisioning template.

templateTypeOptional
string

The type of the provisioning template.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter