Class CfnThingGroupProps
Properties for defining a CfnThingGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnThingGroupProps : Object, ICfnThingGroupProps
Syntax (vb)
Public Class CfnThingGroupProps
Inherits Object
Implements ICfnThingGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.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 cfnThingGroupProps = new CfnThingGroupProps {
ParentGroupName = "parentGroupName",
QueryString = "queryString",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingGroupName = "thingGroupName",
ThingGroupProperties = new ThingGroupPropertiesProperty {
AttributePayload = new AttributePayloadProperty {
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
}
},
ThingGroupDescription = "thingGroupDescription"
}
};
Synopsis
Constructors
CfnThingGroupProps() |
Properties
ParentGroupName | The parent thing group name. |
QueryString | The dynamic thing group search query string. |
Tags | Metadata which can be used to manage the thing group or dynamic thing group. |
ThingGroupName | The thing group name. |
ThingGroupProperties | Thing group properties. |
Constructors
CfnThingGroupProps()
public CfnThingGroupProps()
Properties
ParentGroupName
The parent thing group name.
public string ParentGroupName { get; set; }
Property Value
System.String
Remarks
A Dynamic Thing Group does not have parentGroupName
defined.
QueryString
The dynamic thing group search query string.
public string QueryString { get; set; }
Property Value
System.String
Remarks
The queryString
attribute is required for CreateDynamicThingGroup
. The queryString
attribute is not required for CreateThingGroup
.
Tags
Metadata which can be used to manage the thing group or dynamic thing group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
ThingGroupName
The thing group name.
public string ThingGroupName { get; set; }
Property Value
System.String
Remarks
ThingGroupProperties
Thing group properties.
public object ThingGroupProperties { get; set; }
Property Value
System.Object