AWS::IoTSiteWise::Asset - AWS CloudFormation


Creates an asset from an existing asset model. For more information, see Creating assets in the AWS IoT SiteWise User Guide.


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


{ "Type" : "AWS::IoTSiteWise::Asset", "Properties" : { "AssetHierarchies" : [ AssetHierarchy, ... ], "AssetModelId" : String, "AssetName" : String, "AssetProperties" : [ AssetProperty, ... ], "Tags" : [ Tag, ... ] } }


Type: AWS::IoTSiteWise::Asset Properties: AssetHierarchies: - AssetHierarchy AssetModelId: String AssetName: String AssetProperties: - AssetProperty Tags: - Tag



A list of asset hierarchies that each contain a hierarchyLogicalId. A hierarchy specifies allowed parent/child asset relationships.

Required: No

Type: List of AssetHierarchy

Update requires: No interruption


The ID of the asset model from which to create the asset.

Required: Yes

Type: String

Update requires: No interruption


A unique, friendly name for the asset.

The maximum length is 256 characters with the pattern [^\u0000-\u001F\u007F]+.

Required: Yes

Type: String

Update requires: No interruption


The list of asset properties for the asset.

This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

Required: No

Type: List of AssetProperty

Update requires: No interruption


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: List of Tag

Update requires: No interruption

Return values


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


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.


Not currently supported by AWS CloudFormation.