interface AddThingsToThingGroupParamsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnMitigationAction.AddThingsToThingGroupParamsProperty |
Java | software.amazon.awscdk.services.iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty |
Python | aws_cdk.aws_iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty |
TypeScript | @aws-cdk/aws-iot » CfnMitigationAction » AddThingsToThingGroupParamsProperty |
Parameters used when defining a mitigation action that move a set of things to a thing group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const addThingsToThingGroupParamsProperty: iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty = {
thingGroupNames: ['thingGroupNames'],
// the properties below are optional
overrideDynamicGroups: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| thing | string[] | The list of groups to which you want to add the things that triggered the mitigation action. |
| override | boolean | IResolvable | 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
Type:
string[]
The list of groups to which you want to add the things that triggered the mitigation action.
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.
overrideDynamicGroups?
Type:
boolean | IResolvable
(optional)
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.

.NET
Java
Python
TypeScript