Interface CfnThingTypeProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.641Z") @Stability(Stable) public interface CfnThingTypeProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnThingType.

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.*;
 CfnThingTypeProps cfnThingTypeProps = CfnThingTypeProps.builder()
         .deprecateThingType(false)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .thingTypeName("thingTypeName")
         .thingTypeProperties(ThingTypePropertiesProperty.builder()
                 .searchableAttributes(List.of("searchableAttributes"))
                 .thingTypeDescription("thingTypeDescription")
                 .build())
         .build();
 
  • Method Details

    • getDeprecateThingType

      @Stability(Stable) @Nullable default Object getDeprecateThingType()
      Deprecates a thing type. You can not associate new things with deprecated thing type.

      Requires permission to access the DeprecateThingType action.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Metadata which can be used to manage the thing type.
    • getThingTypeName

      @Stability(Stable) @Nullable default String getThingTypeName()
      The name of the thing type.
    • getThingTypeProperties

      @Stability(Stable) @Nullable default Object getThingTypeProperties()
      The thing type properties for the thing type to create.

      It contains information about the new thing type including a description, and a list of searchable thing attribute names. ThingTypeProperties can't be updated after the initial creation of the ThingType .

    • builder

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