Class CfnThingType.ThingTypePropertiesProperty
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnThingType.ThingTypePropertiesProperty : CfnThingType.IThingTypePropertiesProperty
Syntax (vb)
Public Class CfnThingType.ThingTypePropertiesProperty Implements CfnThingType.IThingTypePropertiesProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var thingTypePropertiesProperty = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
UserPropertyKey = "userPropertyKey",
// the properties below are optional
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
};
Synopsis
Constructors
ThingTypePropertiesProperty() | The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names. |
Properties
Mqtt5Configuration | The configuration to add user-defined properties to enrich MQTT 5 messages. |
SearchableAttributes | A list of searchable thing attribute names. |
ThingTypeDescription | The description of the thing type. |
Constructors
ThingTypePropertiesProperty()
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
public ThingTypePropertiesProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var thingTypePropertiesProperty = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
UserPropertyKey = "userPropertyKey",
// the properties below are optional
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
};
Properties
Mqtt5Configuration
The configuration to add user-defined properties to enrich MQTT 5 messages.
public object? Mqtt5Configuration { get; set; }
Property Value
Remarks
SearchableAttributes
A list of searchable thing attribute names.
public string[]? SearchableAttributes { get; set; }
Property Value
string[]
Remarks
ThingTypeDescription
The description of the thing type.
public string? ThingTypeDescription { get; set; }