Class CfnThingPropsMixin.AttributePayloadProperty
The AttributePayload property specifies up to three attributes for an AWS IoT as key-value pairs.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnThingPropsMixin.AttributePayloadProperty : CfnThingPropsMixin.IAttributePayloadProperty
Syntax (vb)
Public Class CfnThingPropsMixin.AttributePayloadProperty Implements CfnThingPropsMixin.IAttributePayloadProperty
Remarks
AttributePayload is a property of the AWS::IoT::Thing resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoT;
var attributePayloadProperty = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
};
Synopsis
Constructors
| AttributePayloadProperty() | The AttributePayload property specifies up to three attributes for an AWS IoT as key-value pairs. |
Properties
| Attributes | A JSON string containing up to three key-value pair in JSON format. For example:. |
Constructors
AttributePayloadProperty()
The AttributePayload property specifies up to three attributes for an AWS IoT as key-value pairs.
public AttributePayloadProperty()
Remarks
AttributePayload is a property of the AWS::IoT::Thing resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoT;
var attributePayloadProperty = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
};
Properties
Attributes
A JSON string containing up to three key-value pair in JSON format. For example:.
public object? Attributes { get; set; }
Property Value
Remarks
{"attributes":{"string1":"string2"}}
Type union: either Dictionary<string, string> or IResolvable