Show / Hide Table of Contents

Class CfnThingTypePropsMixin

Creates a new thing type.

Inheritance
object
Mixin
CfnThingTypePropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
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 AWS::IoT::ThingType.

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

ICfnThingTypeMixinProps

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

IMergeStrategy

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
Mixin.ApplyTo(IConstruct)
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

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingtype.html

CloudformationResource: AWS::IoT::ThingType

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX