AWS::IoTSiteWise::ComputationModel - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::IoTSiteWise::ComputationModel

Create a computation model with a configuration and data binding.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::IoTSiteWise::ComputationModel", "Properties" : { "ComputationModelConfiguration" : ComputationModelConfiguration, "ComputationModelDataBinding" : {Key: Value, ...}, "ComputationModelDescription" : String, "ComputationModelName" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::IoTSiteWise::ComputationModel Properties: ComputationModelConfiguration: ComputationModelConfiguration ComputationModelDataBinding: Key: Value ComputationModelDescription: String ComputationModelName: String Tags: - Tag

Properties

ComputationModelConfiguration

The configuration for the computation model.

Required: Yes

Type: ComputationModelConfiguration

Update requires: No interruption

ComputationModelDataBinding

The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

Required: Yes

Type: Object of ComputationModelDataBindingValue

Update requires: No interruption

ComputationModelDescription

The description of the computation model.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9 _\-#$*!@]+$

Minimum: 1

Maximum: 2048

Update requires: No interruption

ComputationModelName

The name of the computation model.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9 _\-#$*!@]+$

Minimum: 1

Maximum: 256

Update requires: No interruption

Tags

A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ComputationModelId.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

ComputationModelArn

The ARN of the computation model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

For more information about using the Ref function, see Ref.

ComputationModelId

The ID of the computation model.

For more information about using the Ref function, see Ref.