Class CfnMitigationAction.AddThingsToThingGroupParamsProperty
Parameters used when defining a mitigation action that move a set of things to a thing group.
Inheritance
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddThingsToThingGroupParamsProperty : Object, CfnMitigationAction.IAddThingsToThingGroupParamsProperty
Syntax (vb)
Public Class AddThingsToThingGroupParamsProperty
Inherits Object
Implements CfnMitigationAction.IAddThingsToThingGroupParamsProperty
Remarks
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 addThingsToThingGroupParamsProperty = new AddThingsToThingGroupParamsProperty {
ThingGroupNames = new [] { "thingGroupNames" },
// the properties below are optional
OverrideDynamicGroups = false
};
Synopsis
Constructors
AddThingsToThingGroupParamsProperty() |
Properties
OverrideDynamicGroups | Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups. |
ThingGroupNames | The list of groups to which you want to add the things that triggered the mitigation action. |
Constructors
AddThingsToThingGroupParamsProperty()
public AddThingsToThingGroupParamsProperty()
Properties
OverrideDynamicGroups
Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.
public object OverrideDynamicGroups { get; set; }
Property Value
System.Object
Remarks
ThingGroupNames
The list of groups to which you want to add the things that triggered the mitigation action.
public string[] ThingGroupNames { get; set; }
Property Value
System.String[]
Remarks
You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.