Class CfnThingMixinProps
Properties for CfnThingPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnThingMixinProps : ICfnThingMixinProps
Syntax (vb)
Public Class CfnThingMixinProps Implements ICfnThingMixinProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html
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.Mixins.Preview.AWS.IoT.Mixins;
var cfnThingMixinProps = new CfnThingMixinProps {
AttributePayload = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
},
ThingName = "thingName"
};
Synopsis
Constructors
| CfnThingMixinProps() | Properties for CfnThingPropsMixin. |
Properties
| AttributePayload | A string that contains up to three key value pairs. |
| ThingName | The name of the thing to update. |
Constructors
CfnThingMixinProps()
Properties for CfnThingPropsMixin.
public CfnThingMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html
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.Mixins.Preview.AWS.IoT.Mixins;
var cfnThingMixinProps = new CfnThingMixinProps {
AttributePayload = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
},
ThingName = "thingName"
};
Properties
AttributePayload
A string that contains up to three key value pairs.
public object? AttributePayload { get; set; }
Property Value
Remarks
Maximum length of 800. Duplicates not allowed.
Type union: either IResolvable or CfnThingPropsMixin.IAttributePayloadProperty
ThingName
The name of the thing to update.
public string? ThingName { get; set; }
Property Value
Remarks
You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.