interface CfnProvisioningTemplateProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnProvisioningTemplateProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnProvisioningTemplateProps |
![]() | software.amazon.awscdk.services.iot.CfnProvisioningTemplateProps |
![]() | aws_cdk.aws_iot.CfnProvisioningTemplateProps |
![]() | aws-cdk-lib » aws_iot » CfnProvisioningTemplateProps |
Properties for defining a CfnProvisioningTemplate
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnProvisioningTemplateProps: iot.CfnProvisioningTemplateProps = {
provisioningRoleArn: 'provisioningRoleArn',
templateBody: 'templateBody',
// the properties below are optional
description: 'description',
enabled: false,
preProvisioningHook: {
payloadVersion: 'payloadVersion',
targetArn: 'targetArn',
},
tags: [{
key: 'key',
value: 'value',
}],
templateName: 'templateName',
templateType: 'templateType',
};
Properties
Name | Type | Description |
---|---|---|
provisioning | string | The role ARN for the role associated with the fleet provisioning template. |
template | string | The JSON formatted contents of the fleet provisioning template version. |
description? | string | The description of the fleet provisioning template. |
enabled? | boolean | IResolvable | True to enable the fleet provisioning template, otherwise false. |
pre | IResolvable | Provisioning | Creates a pre-provisioning hook template. |
tags? | Cfn [] | Metadata that can be used to manage the fleet provisioning template. |
template | string | The name of the fleet provisioning template. |
template | string | The type of the provisioning template. |
provisioningRoleArn
Type:
string
The role ARN for the role associated with the fleet provisioning template.
This IoT role grants permission to provision a device.
templateBody
Type:
string
The JSON formatted contents of the fleet provisioning template version.
description?
Type:
string
(optional)
The description of the fleet provisioning template.
enabled?
Type:
boolean |
IResolvable
(optional)
True to enable the fleet provisioning template, otherwise false.
preProvisioningHook?
Type:
IResolvable
|
Provisioning
(optional)
Creates a pre-provisioning hook template.
tags?
Type:
Cfn
[]
(optional)
Metadata that can be used to manage the fleet provisioning template.
templateName?
Type:
string
(optional)
The name of the fleet provisioning template.
templateType?
Type:
string
(optional)
The type of the provisioning template.