Interface CfnThingType.Mqtt5ConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThingType.Mqtt5ConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnThingType
@Stability(Stable)
public static interface CfnThingType.Mqtt5ConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration to add user-defined properties to enrich MQTT 5 messages.
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.*;
Mqtt5ConfigurationProperty mqtt5ConfigurationProperty = Mqtt5ConfigurationProperty.builder()
.propagatingAttributes(List.of(PropagatingAttributeProperty.builder()
.userPropertyKey("userPropertyKey")
// the properties below are optional
.connectionAttribute("connectionAttribute")
.thingAttribute("thingAttribute")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThingType.Mqtt5ConfigurationPropertystatic final classAn implementation forCfnThingType.Mqtt5ConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPropagatingAttributes
An object that represents the connection attribute, the thing attribute, and the MQTT 5 user property key.- See Also:
-
builder
-