Show / Hide Table of Contents

Class CfnComputationModelProps

Properties for defining a CfnComputationModel.

Inheritance
object
CfnComputationModelProps
Implements
ICfnComputationModelProps
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 CfnComputationModelProps : ICfnComputationModelProps
Syntax (vb)
Public Class CfnComputationModelProps Implements ICfnComputationModelProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.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;

             ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;

             var cfnComputationModelProps = new CfnComputationModelProps {
                 ComputationModelConfiguration = new ComputationModelConfigurationProperty {
                     AnomalyDetection = new AnomalyDetectionComputationModelConfigurationProperty {
                         InputProperties = "inputProperties",
                         ResultProperty = "resultProperty"
                     }
                 },
                 ComputationModelDataBinding = new Dictionary<string, object> {
                     { "computationModelDataBindingKey", new ComputationModelDataBindingValueProperty {
                         AssetModelProperty = new AssetModelPropertyBindingValueProperty {
                             AssetModelId = "assetModelId",
                             PropertyId = "propertyId"
                         },
                         AssetProperty = new AssetPropertyBindingValueProperty {
                             AssetId = "assetId",
                             PropertyId = "propertyId"
                         },
                         List = new [] { computationModelDataBindingValueProperty_ }
                     } }
                 },
                 ComputationModelName = "computationModelName",

                 // the properties below are optional
                 ComputationModelDescription = "computationModelDescription",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnComputationModelProps()

Properties for defining a CfnComputationModel.

Properties

ComputationModelConfiguration

The configuration for the computation model.

ComputationModelDataBinding

The data binding for the computation model.

ComputationModelDescription

The description of the computation model.

ComputationModelName

The name of the computation model.

Tags

A list of key-value pairs that contain metadata for the asset.

Constructors

CfnComputationModelProps()

Properties for defining a CfnComputationModel.

public CfnComputationModelProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.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;

             ComputationModelDataBindingValueProperty computationModelDataBindingValueProperty_;

             var cfnComputationModelProps = new CfnComputationModelProps {
                 ComputationModelConfiguration = new ComputationModelConfigurationProperty {
                     AnomalyDetection = new AnomalyDetectionComputationModelConfigurationProperty {
                         InputProperties = "inputProperties",
                         ResultProperty = "resultProperty"
                     }
                 },
                 ComputationModelDataBinding = new Dictionary<string, object> {
                     { "computationModelDataBindingKey", new ComputationModelDataBindingValueProperty {
                         AssetModelProperty = new AssetModelPropertyBindingValueProperty {
                             AssetModelId = "assetModelId",
                             PropertyId = "propertyId"
                         },
                         AssetProperty = new AssetPropertyBindingValueProperty {
                             AssetId = "assetId",
                             PropertyId = "propertyId"
                         },
                         List = new [] { computationModelDataBindingValueProperty_ }
                     } }
                 },
                 ComputationModelName = "computationModelName",

                 // the properties below are optional
                 ComputationModelDescription = "computationModelDescription",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

ComputationModelConfiguration

The configuration for the computation model.

public object ComputationModelConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodelconfiguration

Type union: either IResolvable or CfnComputationModel.IComputationModelConfigurationProperty

ComputationModelDataBinding

The data binding for the computation model.

public object ComputationModelDataBinding { get; set; }
Property Value

object

Remarks

Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodeldatabinding

Type union: either IResolvable or Dictionary<string, either IResolvable or CfnComputationModel.IComputationModelDataBindingValueProperty>

ComputationModelDescription

The description of the computation model.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodeldescription

ComputationModelName

The name of the computation model.

public string ComputationModelName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodelname

Tags

A list of key-value pairs that contain metadata for the asset.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-tags

Implements

ICfnComputationModelProps
Back to top Generated by DocFX