Interface CfnThingTypeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThingTypeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:09.516Z")
@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()
.mqtt5Configuration(Mqtt5ConfigurationProperty.builder()
.propagatingAttributes(List.of(PropagatingAttributeProperty.builder()
.userPropertyKey("userPropertyKey")
// the properties below are optional
.connectionAttribute("connectionAttribute")
.thingAttribute("thingAttribute")
.build()))
.build())
.searchableAttributes(List.of("searchableAttributes"))
.thingTypeDescription("thingTypeDescription")
.build())
.build();
- See Also:
-
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.
- See Also:
-
getTags
Metadata which can be used to manage the thing type.- See Also:
-
getThingTypeName
The name of the thing type.- See Also:
-
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.- See Also:
-
builder
- Returns:
- a
CfnThingTypeProps.BuilderofCfnThingTypeProps
-