Skip to content
v2.275.0

CfnThingGroupPropsMixin Mixin ​

Creates a new thing group.

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 Authorization for information about authorizing control plane actions.

Requires permission to access the CreateThingGroup action.

Initializer ​

ts
new CfnThingGroupPropsMixin(props: CfnThingGroupMixinProps, options?: CfnPropertyMixinOptions)
python
CfnThingGroupPropsMixin(props: CfnThingGroupMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnThingGroupPropsMixin(CfnThingGroupMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnThingGroupPropsMixin(CfnThingGroupMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnThingGroupPropsMixin(Props CfnThingGroupMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.