aws-cdk-lib.aws_iot.CfnThing.AttributePayloadProperty

interface AttributePayloadProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnThing.AttributePayloadProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThing_AttributePayloadProperty
Javasoftware.amazon.awscdk.services.iot.CfnThing.AttributePayloadProperty
Pythonaws_cdk.aws_iot.CfnThing.AttributePayloadProperty
TypeScript aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
const attributePayloadProperty: iot.CfnThing.AttributePayloadProperty = {
  attributes: {
    attributesKey: 'attributes',
  },
};

Properties

NameTypeDescription
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\"}}