-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnProvisioningTemplateProps.go
73 lines (70 loc) · 3.6 KB
/
CfnProvisioningTemplateProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package awsiot
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// cfnProvisioningTemplateProps := &CfnProvisioningTemplateProps{
// ProvisioningRoleArn: jsii.String("provisioningRoleArn"),
// TemplateBody: jsii.String("templateBody"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// Enabled: jsii.Boolean(false),
// PreProvisioningHook: &ProvisioningHookProperty{
// PayloadVersion: jsii.String("payloadVersion"),
// TargetArn: jsii.String("targetArn"),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// TemplateName: jsii.String("templateName"),
// TemplateType: jsii.String("templateType"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html
//
type CfnProvisioningTemplateProps struct {
// The role ARN for the role associated with the fleet provisioning template.
//
// This IoT role grants permission to provision a device.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-provisioningrolearn
//
ProvisioningRoleArn *string `field:"required" json:"provisioningRoleArn" yaml:"provisioningRoleArn"`
// The JSON formatted contents of the fleet provisioning template version.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-templatebody
//
TemplateBody *string `field:"required" json:"templateBody" yaml:"templateBody"`
// The description of the fleet provisioning template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// True to enable the fleet provisioning template, otherwise false.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-enabled
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
// Creates a pre-provisioning hook template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-preprovisioninghook
//
PreProvisioningHook interface{} `field:"optional" json:"preProvisioningHook" yaml:"preProvisioningHook"`
// Metadata that can be used to manage the fleet provisioning template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The name of the fleet provisioning template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-templatename
//
TemplateName *string `field:"optional" json:"templateName" yaml:"templateName"`
// The type of the provisioning template.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-templatetype
//
TemplateType *string `field:"optional" json:"templateType" yaml:"templateType"`
}