-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnThingProps.go
36 lines (33 loc) · 1.33 KB
/
CfnThingProps.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
package awsiot
// Properties for defining a `CfnThing`.
//
// 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"
//
// cfnThingProps := &CfnThingProps{
// AttributePayload: &AttributePayloadProperty{
// Attributes: map[string]*string{
// "attributesKey": jsii.String("attributes"),
// },
// },
// ThingName: jsii.String("thingName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html
//
type CfnThingProps struct {
// A string that contains up to three key value pairs.
//
// Maximum length of 800. Duplicates not allowed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html#cfn-iot-thing-attributepayload
//
AttributePayload interface{} `field:"optional" json:"attributePayload" yaml:"attributePayload"`
// The name of the thing to update.
//
// You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html#cfn-iot-thing-thingname
//
ThingName *string `field:"optional" json:"thingName" yaml:"thingName"`
}