Show / Hide Table of Contents

Class CfnAssetModelPropsMixin.AssetModelPropertyProperty

Contains information about an asset model property.

Inheritance
object
CfnAssetModelPropsMixin.AssetModelPropertyProperty
Implements
CfnAssetModelPropsMixin.IAssetModelPropertyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoTSiteWise
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAssetModelPropsMixin.AssetModelPropertyProperty : CfnAssetModelPropsMixin.IAssetModelPropertyProperty
Syntax (vb)
Public Class CfnAssetModelPropsMixin.AssetModelPropertyProperty Implements CfnAssetModelPropsMixin.IAssetModelPropertyProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.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.CfnPropertyMixins.AWS.IoTSiteWise;

             var assetModelPropertyProperty = new AssetModelPropertyProperty {
                 DataType = "dataType",
                 DataTypeSpec = "dataTypeSpec",
                 ExternalId = "externalId",
                 Id = "id",
                 LogicalId = "logicalId",
                 Name = "name",
                 Type = new PropertyTypeProperty {
                     Attribute = new AttributeProperty {
                         DefaultValue = "defaultValue"
                     },
                     Metric = new MetricProperty {
                         Expression = "expression",
                         Variables = new [] { new ExpressionVariableProperty {
                             Name = "name",
                             Value = new VariableValueProperty {
                                 HierarchyExternalId = "hierarchyExternalId",
                                 HierarchyId = "hierarchyId",
                                 HierarchyLogicalId = "hierarchyLogicalId",
                                 PropertyExternalId = "propertyExternalId",
                                 PropertyId = "propertyId",
                                 PropertyLogicalId = "propertyLogicalId",
                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                     Name = "name"
                                 } }
                             }
                         } },
                         Window = new MetricWindowProperty {
                             Tumbling = new TumblingWindowProperty {
                                 Interval = "interval",
                                 Offset = "offset"
                             }
                         }
                     },
                     Transform = new TransformProperty {
                         Expression = "expression",
                         Variables = new [] { new ExpressionVariableProperty {
                             Name = "name",
                             Value = new VariableValueProperty {
                                 HierarchyExternalId = "hierarchyExternalId",
                                 HierarchyId = "hierarchyId",
                                 HierarchyLogicalId = "hierarchyLogicalId",
                                 PropertyExternalId = "propertyExternalId",
                                 PropertyId = "propertyId",
                                 PropertyLogicalId = "propertyLogicalId",
                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                     Name = "name"
                                 } }
                             }
                         } }
                     },
                     TypeName = "typeName"
                 },
                 Unit = "unit"
             };

Synopsis

Constructors

AssetModelPropertyProperty()

Contains information about an asset model property.

Properties

DataType

The data type of the asset model property.

DataTypeSpec

The data type of the structure for this property.

ExternalId

The external ID of the asset property.

Id

The ID of the property.

LogicalId

The LogicalID of the asset model property.

Name

The name of the asset model property.

Type

Contains a property type, which can be one of attribute , measurement , metric , or transform .

Unit

The unit of the asset model property, such as Newtons or RPM .

Constructors

AssetModelPropertyProperty()

Contains information about an asset model property.

public AssetModelPropertyProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.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.CfnPropertyMixins.AWS.IoTSiteWise;

             var assetModelPropertyProperty = new AssetModelPropertyProperty {
                 DataType = "dataType",
                 DataTypeSpec = "dataTypeSpec",
                 ExternalId = "externalId",
                 Id = "id",
                 LogicalId = "logicalId",
                 Name = "name",
                 Type = new PropertyTypeProperty {
                     Attribute = new AttributeProperty {
                         DefaultValue = "defaultValue"
                     },
                     Metric = new MetricProperty {
                         Expression = "expression",
                         Variables = new [] { new ExpressionVariableProperty {
                             Name = "name",
                             Value = new VariableValueProperty {
                                 HierarchyExternalId = "hierarchyExternalId",
                                 HierarchyId = "hierarchyId",
                                 HierarchyLogicalId = "hierarchyLogicalId",
                                 PropertyExternalId = "propertyExternalId",
                                 PropertyId = "propertyId",
                                 PropertyLogicalId = "propertyLogicalId",
                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                     Name = "name"
                                 } }
                             }
                         } },
                         Window = new MetricWindowProperty {
                             Tumbling = new TumblingWindowProperty {
                                 Interval = "interval",
                                 Offset = "offset"
                             }
                         }
                     },
                     Transform = new TransformProperty {
                         Expression = "expression",
                         Variables = new [] { new ExpressionVariableProperty {
                             Name = "name",
                             Value = new VariableValueProperty {
                                 HierarchyExternalId = "hierarchyExternalId",
                                 HierarchyId = "hierarchyId",
                                 HierarchyLogicalId = "hierarchyLogicalId",
                                 PropertyExternalId = "propertyExternalId",
                                 PropertyId = "propertyId",
                                 PropertyLogicalId = "propertyLogicalId",
                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                     Name = "name"
                                 } }
                             }
                         } }
                     },
                     TypeName = "typeName"
                 },
                 Unit = "unit"
             };

Properties

DataType

The data type of the asset model property.

public string? DataType { get; set; }
Property Value

string

Remarks

If you specify STRUCT , you must also specify dataTypeSpec to identify the type of the structure for this property.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatype

DataTypeSpec

The data type of the structure for this property.

public string? DataTypeSpec { get; set; }
Property Value

string

Remarks

This parameter exists on properties that have the STRUCT data type.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatypespec

ExternalId

The external ID of the asset property.

public string? ExternalId { get; set; }
Property Value

string

Remarks

For more information, see Using external IDs in the AWS IoT SiteWise User Guide .

One of <code>ExternalId</code> or <code>LogicalId</code> must be specified.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-externalid

Id

The ID of the property.

public string? Id { get; set; }
Property Value

string

Remarks
This is a return value and can't be set.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-id

LogicalId

The LogicalID of the asset model property.

public string? LogicalId { get; set; }
Property Value

string

Remarks
One of <code>ExternalId</code> or <code>LogicalId</code> must be specified.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-logicalid

Name

The name of the asset model property.

public string? Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-name

Type

Contains a property type, which can be one of attribute , measurement , metric , or transform .

public object? Type { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-type

Type union: either IResolvable or CfnAssetModelPropsMixin.IPropertyTypeProperty

Unit

The unit of the asset model property, such as Newtons or RPM .

public string? Unit { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-unit

Implements

CfnAssetModelPropsMixin.IAssetModelPropertyProperty
Back to top Generated by DocFX