Show / Hide Table of Contents

Interface CfnComponentType.IDataTypeProperty

An object that specifies the data type of a property.

Namespace: Amazon.CDK.AWS.IoTTwinMaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnComponentType.IDataTypeProperty
Syntax (vb)
Public Interface CfnComponentType.IDataTypeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html

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.IoTTwinMaker;

             DataTypeProperty dataTypeProperty_;
             DataValueProperty dataValueProperty_;
             var relationshipValue;

             var dataTypeProperty = new DataTypeProperty {
                 Type = "type",

                 // the properties below are optional
                 AllowedValues = new [] { new DataValueProperty {
                     BooleanValue = false,
                     DoubleValue = 123,
                     Expression = "expression",
                     IntegerValue = 123,
                     ListValue = new [] { dataValueProperty_ },
                     LongValue = 123,
                     MapValue = new Dictionary<string, object> {
                         { "mapValueKey", dataValueProperty_ }
                     },
                     RelationshipValue = relationshipValue,
                     StringValue = "stringValue"
                 } },
                 NestedType = dataTypeProperty_,
                 Relationship = new RelationshipProperty {
                     RelationshipType = "relationshipType",
                     TargetComponentTypeId = "targetComponentTypeId"
                 },
                 UnitOfMeasure = "unitOfMeasure"
             };

Synopsis

Properties

AllowedValues

The allowed values for this data type.

NestedType

The nested type in the data type.

Relationship

A relationship that associates a component with another component.

Type

The underlying type of the data type.

UnitOfMeasure

The unit of measure used in this data type.

Properties

AllowedValues

The allowed values for this data type.

object? AllowedValues { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html#cfn-iottwinmaker-componenttype-datatype-allowedvalues

Type union: either IResolvable or (either IResolvable or CfnComponentType.IDataValueProperty)[]

NestedType

The nested type in the data type.

object? NestedType { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html#cfn-iottwinmaker-componenttype-datatype-nestedtype

Type union: either IResolvable or CfnComponentType.IDataTypeProperty

Relationship

A relationship that associates a component with another component.

object? Relationship { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html#cfn-iottwinmaker-componenttype-datatype-relationship

Type union: either IResolvable or CfnComponentType.IRelationshipProperty

Type

The underlying type of the data type.

string Type { get; }
Property Value

string

Remarks

Valid Values: RELATIONSHIP | STRING | LONG | BOOLEAN | INTEGER | DOUBLE | LIST | MAP

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html#cfn-iottwinmaker-componenttype-datatype-type

UnitOfMeasure

The unit of measure used in this data type.

string? UnitOfMeasure { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iottwinmaker-componenttype-datatype.html#cfn-iottwinmaker-componenttype-datatype-unitofmeasure

Back to top Generated by DocFX