This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::IoT::Thing AttributePayload
The AttributePayload property specifies up to three attributes for an Amazon IoT as key-value pairs. AttributePayload is a property of the AWS::IoT::Thing resource.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Attributes" :{}Key:Value, ...}
YAML
Attributes:Key:Value
Properties
- Attributes
- 
                    A JSON string containing up to three key-value pair in JSON format. For example: {\"attributes\":{\"string1\":\"string2\"}}Required: No Type: Object of String Pattern: [a-zA-Z0-9_.,@/:#-]+Update requires: No interruption 
Examples
The following example declares an attribute payload with three attributes.
JSON
{ "AttributePayload":{ "Attributes":{ "myAttributeA":{ "Ref":"MyAttributeValueA" }, "myAttributeB":{ "Ref":"MyAttributeValueB" }, "myAttributeC":{ "Ref":"MyAttributeValueC" } } } }
YAML
AttributePayload: Attributes: myAttributeA: Ref: MyAttributeValueA myAttributeB: Ref: MyAttributeValueB myAttributeC: Ref: MyAttributeValueC