interface Mqtt5ConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnThingType.Mqtt5ConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnThingType_Mqtt5ConfigurationProperty |
Java | software.amazon.awscdk.services.iot.CfnThingType.Mqtt5ConfigurationProperty |
Python | aws_cdk.aws_iot.CfnThingType.Mqtt5ConfigurationProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnThingType » Mqtt5ConfigurationProperty |
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 { aws_iot as iot } from 'aws-cdk-lib';
const mqtt5ConfigurationProperty: iot.CfnThingType.Mqtt5ConfigurationProperty = {
propagatingAttributes: [{
userPropertyKey: 'userPropertyKey',
// the properties below are optional
connectionAttribute: 'connectionAttribute',
thingAttribute: 'thingAttribute',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| propagating | IResolvable | (IResolvable | Propagating)[] | An object that represents the connection attribute, the thing attribute, and the MQTT 5 user property key. |
propagatingAttributes?
Type:
IResolvable | (IResolvable | Propagating)[]
(optional)
An object that represents the connection attribute, the thing attribute, and the MQTT 5 user property key.

.NET
Go
Java
Python
TypeScript