Interface CfnThingType.ThingTypePropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThingType.ThingTypePropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnThingType
@Stability(Stable)
public static interface CfnThingType.ThingTypePropertiesProperty
extends software.amazon.jsii.JsiiSerializable
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
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.*;
ThingTypePropertiesProperty thingTypePropertiesProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThingType.ThingTypePropertiesPropertystatic final classAn implementation forCfnThingType.ThingTypePropertiesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMqtt5Configuration
The configuration to add user-defined properties to enrich MQTT 5 messages.- See Also:
-
getSearchableAttributes
A list of searchable thing attribute names.- See Also:
-
getThingTypeDescription
The description of the thing type.- See Also:
-
builder
-