interface AttributePayloadProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnThingPropsMixin.AttributePayloadProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnThingPropsMixin_AttributePayloadProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnThingPropsMixin.AttributePayloadProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnThingPropsMixin.AttributePayloadProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnThingPropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const attributePayloadProperty: iot_mixins.CfnThingPropsMixin.AttributePayloadProperty = {
attributes: {
attributesKey: 'attributes',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| attributes? | { [string]: string } | IResolvable | A JSON string containing up to three key-value pair in JSON format. For example:. |
attributes?
Type:
{ [string]: string } | IResolvable
(optional)
A JSON string containing up to three key-value pair in JSON format. For example:.
{\"attributes\":{\"string1\":\"string2\"}}

.NET
Go
Java
Python
TypeScript