Class CfnThingGroupPropsMixin
Creates a new thing group.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnThingGroupPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnThingGroupPropsMixin Inherits Mixin Implements IMixin
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingGroupPropsMixin = new CfnThingGroupPropsMixin(new CfnThingGroupMixinProps {
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"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnThingGroupPropsMixin(ICfnThingGroupMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a new thing group. |
| Props | Creates a new thing group. |
| Strategy | Creates a new thing group. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnThingGroupPropsMixin(ICfnThingGroupMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::IoT::ThingGroup.
public CfnThingGroupPropsMixin(ICfnThingGroupMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnThingGroupMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a new thing group.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingGroupPropsMixin = new CfnThingGroupPropsMixin(new CfnThingGroupMixinProps {
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"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a new thing group.
protected virtual ICfnThingGroupMixinProps Props { get; }
Property Value
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingGroupPropsMixin = new CfnThingGroupPropsMixin(new CfnThingGroupMixinProps {
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"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a new thing group.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingGroupPropsMixin = new CfnThingGroupPropsMixin(new CfnThingGroupMixinProps {
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"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
A dynamic thing group is created if the resource template contains the QueryString attribute. A dynamic thing group will not contain the ParentGroupName attribute. A static thing group and dynamic thing group can't be converted to each other via the addition or removal of the QueryString attribute.
This is a control plane operation. See <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html">Authorization</a> for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thinggroup.html
CloudformationResource: AWS::IoT::ThingGroup
Mixin: true
ExampleMetadata: fixture=_generated