interface AttributePayloadProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnThing.AttributePayloadProperty |
Java | software.amazon.awscdk.services.iot.CfnThing.AttributePayloadProperty |
Python | aws_cdk.aws_iot.CfnThing.AttributePayloadProperty |
TypeScript | @aws-cdk/aws-iot » CfnThing » AttributePayloadProperty |
The AttributePayload property specifies up to three attributes for an AWS IoT as key-value pairs.
AttributePayload is a property of the AWS::IoT::Thing resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const attributePayloadProperty: iot.CfnThing.AttributePayloadProperty = {
attributes: {
attributesKey: 'attributes',
},
};
Properties
Name | Type | Description |
---|---|---|
attributes? | IResolvable | { [string]: string } | A JSON string containing up to three key-value pair in JSON format. For example:. |
attributes?
Type:
IResolvable
| { [string]: string }
(optional)
A JSON string containing up to three key-value pair in JSON format. For example:.
{\"attributes\":{\"string1\":\"string2\"}}