This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::IoTSiteWise::ComputationModel
Create a computation model with a configuration and data binding.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::IoTSiteWise::ComputationModel", "Properties" : { "ComputationModelConfiguration" :ComputationModelConfiguration, "ComputationModelDataBinding" :{, "ComputationModelDescription" :Key:Value, ...}String, "ComputationModelName" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::IoTSiteWise::ComputationModel Properties: ComputationModelConfiguration:ComputationModelConfigurationComputationModelDataBinding:ComputationModelDescription:Key:ValueStringComputationModelName:StringTags:- 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 ComputationModelDataBindingValuereferenced 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: 1Maximum: 2048Update requires: No interruption 
- ComputationModelName
- 
                    The name of the computation model. Required: Yes Type: String Pattern: ^[a-zA-Z0-9 _\-#$*!@]+$Minimum: 1Maximum: 256Update requires: No interruption 
- 
                    A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your Amazon IoT SiteWise resources in the Amazon 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 Reffunction, seeRef.
- ComputationModelId
- 
                            The ID of the computation model. For more information about using the Reffunction, seeRef.