interface AttributeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnAssetModel.AttributeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_AttributeProperty |
Java | software.amazon.awscdk.services.iotsitewise.CfnAssetModel.AttributeProperty |
Python | aws_cdk.aws_iotsitewise.CfnAssetModel.AttributeProperty |
TypeScript | aws-cdk-lib » aws_iotsitewise » CfnAssetModel » AttributeProperty |
Contains an asset attribute property.
For more information, see Attributes in the AWS IoT SiteWise User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const attributeProperty: iotsitewise.CfnAssetModel.AttributeProperty = {
defaultValue: 'defaultValue',
};
Properties
Name | Type | Description |
---|---|---|
default | string | The default value of the asset model property attribute. |
defaultValue?
Type:
string
(optional)
The default value of the asset model property attribute.
All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the AWS IoT SiteWise User Guide .