

# AssetProperty


Contains asset property information.

## Contents


 ** dataType **   <a name="iotsitewise-Type-AssetProperty-dataType"></a>
The data type of the asset property.  
Type: String  
Valid Values: `STRING | INTEGER | DOUBLE | BOOLEAN | STRUCT`   
Required: Yes

 ** id **   <a name="iotsitewise-Type-AssetProperty-id"></a>
The ID of the asset property.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `^(?!00000000-0000-0000-0000-000000000000)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`   
Required: Yes

 ** name **   <a name="iotsitewise-Type-AssetProperty-name"></a>
The name of the property.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^\u0000-\u001F\u007F]+`   
Required: Yes

 ** alias **   <a name="iotsitewise-Type-AssetProperty-alias"></a>
The alias that identifies the property, such as an OPC-UA server data stream path (for example, `/company/windfarm/3/turbine/7/temperature`). For more information, see [Mapping industrial data streams to asset properties](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html) in the * AWS IoT SiteWise User Guide*.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Pattern: `[^\u0000-\u001F\u007F]+`   
Required: No

 ** dataTypeSpec **   <a name="iotsitewise-Type-AssetProperty-dataTypeSpec"></a>
The data type of the structure for this property. This parameter exists on properties that have the `STRUCT` data type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^\u0000-\u001F\u007F]+`   
Required: No

 ** externalId **   <a name="iotsitewise-Type-AssetProperty-externalId"></a>
The external ID of the asset property. For more information, see [Using external IDs](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids) in the * AWS IoT SiteWise User Guide*.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 128.  
Pattern: `[a-zA-Z0-9_][a-zA-Z_\-0-9.:]*[a-zA-Z0-9_]+`   
Required: No

 ** notification **   <a name="iotsitewise-Type-AssetProperty-notification"></a>
The asset property's notification topic and state. For more information, see [UpdateAssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html).  
Type: [PropertyNotification](API_PropertyNotification.md) object  
Required: No

 ** path **   <a name="iotsitewise-Type-AssetProperty-path"></a>
The structured path to the property from the root of the asset.  
Type: Array of [AssetPropertyPathSegment](API_AssetPropertyPathSegment.md) objects  
Required: No

 ** unit **   <a name="iotsitewise-Type-AssetProperty-unit"></a>
The unit (such as `Newtons` or `RPM`) of the asset property.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[^\u0000-\u001F\u007F]+`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iotsitewise-2019-12-02/AssetProperty) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotsitewise-2019-12-02/AssetProperty) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotsitewise-2019-12-02/AssetProperty) 