Class CfnThingProps
Properties for defining a CfnThing
.
Inheritance
System.Object
CfnThingProps
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnThingProps : Object, ICfnThingProps
Syntax (vb)
Public Class CfnThingProps
Inherits Object
Implements ICfnThingProps
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.AWS.IoT;
var cfnThingProps = new CfnThingProps {
AttributePayload = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
},
ThingName = "thingName"
};
Synopsis
Constructors
CfnThingProps() |
Properties
AttributePayload | A string that contains up to three key value pairs. |
ThingName | The name of the thing to update. |
Constructors
CfnThingProps()
public CfnThingProps()
Properties
AttributePayload
A string that contains up to three key value pairs.
public object AttributePayload { get; set; }
Property Value
System.Object
Remarks
Maximum length of 800. Duplicates not allowed.
ThingName
The name of the thing to update.
public string ThingName { get; set; }
Property Value
System.String
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.