Interface CfnThingGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThingGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:40.142Z")
@Stability(Stable)
public interface CfnThingGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnThingGroup.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnThingGroupProps cfnThingGroupProps = CfnThingGroupProps.builder()
.parentGroupName("parentGroupName")
.queryString("queryString")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.thingGroupName("thingGroupName")
.thingGroupProperties(ThingGroupPropertiesProperty.builder()
.attributePayload(AttributePayloadProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.build())
.thingGroupDescription("thingGroupDescription")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThingGroupPropsstatic final classAn implementation forCfnThingGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnThingGroupProps.Builderbuilder()default StringThe parent thing group name.default StringThe dynamic thing group search query string.getTags()Metadata which can be used to manage the thing group or dynamic thing group.default StringThe thing group name.default ObjectThing group properties.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getParentGroupName
The parent thing group name.A Dynamic Thing Group does not have
parentGroupNamedefined.- See Also:
-
getQueryString
The dynamic thing group search query string.The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- See Also:
-
getTags
Metadata which can be used to manage the thing group or dynamic thing group.- See Also:
-
getThingGroupName
The thing group name.- See Also:
-
getThingGroupProperties
Thing group properties.Returns union: either
IResolvableorCfnThingGroup.ThingGroupPropertiesProperty- See Also:
-
builder
- Returns:
- a
CfnThingGroupProps.BuilderofCfnThingGroupProps
-