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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThingTypePropsstatic final classAn implementation forCfnThingTypeProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeprecateThingType
Deprecates a thing type. You can not associate new things with deprecated thing type.Requires permission to access the DeprecateThingType action.
-
getTags
Metadata which can be used to manage the thing type. -
getThingTypeName
The name of the thing type. -
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.
ThingTypePropertiescan't be updated after the initial creation of theThingType. -
builder
- Returns:
- a
CfnThingTypeProps.BuilderofCfnThingTypeProps
-