Interface CfnThingGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnThingGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.635Z") @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();
 
  • Method Details

    • getParentGroupName

      @Stability(Stable) @Nullable default String getParentGroupName()
      The parent thing group name.

      A Dynamic Thing Group does not have parentGroupName defined.

    • getQueryString

      @Stability(Stable) @Nullable default String getQueryString()
      The dynamic thing group search query string.

      The queryString attribute is required for CreateDynamicThingGroup . The queryString attribute is not required for CreateThingGroup .

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Metadata which can be used to manage the thing group or dynamic thing group.
    • getThingGroupName

      @Stability(Stable) @Nullable default String getThingGroupName()
      The thing group name.
    • getThingGroupProperties

      @Stability(Stable) @Nullable default Object getThingGroupProperties()
      Thing group properties.
    • builder

      @Stability(Stable) static CfnThingGroupProps.Builder builder()
      Returns:
      a CfnThingGroupProps.Builder of CfnThingGroupProps