aws-cdk-lib.aws_iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty

interface AddThingsToThingGroupParamsProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnMitigationAction.AddThingsToThingGroupParamsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnMitigationAction_AddThingsToThingGroupParamsProperty
Javasoftware.amazon.awscdk.services.iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty
Pythonaws_cdk.aws_iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty
TypeScript aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
const addThingsToThingGroupParamsProperty: iot.CfnMitigationAction.AddThingsToThingGroupParamsProperty = {
  thingGroupNames: ['thingGroupNames'],

  // the properties below are optional
  overrideDynamicGroups: false,
};

Properties

NameTypeDescription
thingGroupNamesstring[]The list of groups to which you want to add the things that triggered the mitigation action.
overrideDynamicGroups?boolean | IResolvableSpecifies 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.