Show / Hide Table of Contents

Class CfnAssetModel.PropertyTypeProperty

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

Inheritance
object
CfnAssetModel.PropertyTypeProperty
Implements
CfnAssetModel.IPropertyTypeProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssetModel.PropertyTypeProperty : CfnAssetModel.IPropertyTypeProperty
Syntax (vb)
Public Class CfnAssetModel.PropertyTypeProperty Implements CfnAssetModel.IPropertyTypeProperty
Remarks

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

             var propertyTypeProperty = new PropertyTypeProperty {
                 TypeName = "typeName",

                 // the properties below are optional
                 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",

                             // the properties below are optional
                             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"
                             } }
                         }
                     } }
                 }
             };

Synopsis

Constructors

PropertyTypeProperty()

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

Properties

Attribute

Specifies an asset attribute property.

Metric

Specifies an asset metric property.

Transform

Specifies an asset transform property.

TypeName

The type of property type, which can be one of Attribute , Measurement , Metric , or Transform .

Constructors

PropertyTypeProperty()

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

public PropertyTypeProperty()
Remarks

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

             var propertyTypeProperty = new PropertyTypeProperty {
                 TypeName = "typeName",

                 // the properties below are optional
                 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",

                             // the properties below are optional
                             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"
                             } }
                         }
                     } }
                 }
             };

Properties

Attribute

Specifies an asset attribute property.

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

object

Remarks

An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

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

Type union: either IResolvable or CfnAssetModel.IAttributeProperty

Metric

Specifies an asset metric property.

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

object

Remarks

A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

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

Type union: either IResolvable or CfnAssetModel.IMetricProperty

Transform

Specifies an asset transform property.

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

object

Remarks

A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

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

Type union: either IResolvable or CfnAssetModel.ITransformProperty

TypeName

The type of property type, which can be one of Attribute , Measurement , Metric , or Transform .

public string TypeName { get; set; }
Property Value

string

Remarks

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

Implements

CfnAssetModel.IPropertyTypeProperty
Back to top Generated by DocFX