Class CfnThingTypePropsMixin
Creates a new thing type.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnThingTypePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnThingTypePropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
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.CfnPropertyMixins.AWS.IoT;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingTypePropsMixin = new CfnThingTypePropsMixin(new CfnThingTypeMixinProps {
DeprecateThingType = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingTypeName = "thingTypeName",
ThingTypeProperties = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute",
UserPropertyKey = "userPropertyKey"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnThingTypePropsMixin(ICfnThingTypeMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a new thing type. |
| Props | Creates a new thing type. |
| Strategy | Creates a new thing type. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnThingTypePropsMixin(ICfnThingTypeMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::IoT::ThingType.
public CfnThingTypePropsMixin(ICfnThingTypeMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnThingTypeMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a new thing type.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
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.CfnPropertyMixins.AWS.IoT;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingTypePropsMixin = new CfnThingTypePropsMixin(new CfnThingTypeMixinProps {
DeprecateThingType = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingTypeName = "thingTypeName",
ThingTypeProperties = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute",
UserPropertyKey = "userPropertyKey"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a new thing type.
protected virtual ICfnThingTypeMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
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.CfnPropertyMixins.AWS.IoT;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingTypePropsMixin = new CfnThingTypePropsMixin(new CfnThingTypeMixinProps {
DeprecateThingType = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingTypeName = "thingTypeName",
ThingTypeProperties = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute",
UserPropertyKey = "userPropertyKey"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a new thing type.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
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.CfnPropertyMixins.AWS.IoT;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnThingTypePropsMixin = new CfnThingTypePropsMixin(new CfnThingTypeMixinProps {
DeprecateThingType = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingTypeName = "thingTypeName",
ThingTypeProperties = new ThingTypePropertiesProperty {
Mqtt5Configuration = new Mqtt5ConfigurationProperty {
PropagatingAttributes = new [] { new PropagatingAttributeProperty {
ConnectionAttribute = "connectionAttribute",
ThingAttribute = "thingAttribute",
UserPropertyKey = "userPropertyKey"
} }
},
SearchableAttributes = new [] { "searchableAttributes" },
ThingTypeDescription = "thingTypeDescription"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html
CloudformationResource: AWS::IoT::ThingType
Mixin: true
ExampleMetadata: fixture=_generated