aws-cdk-lib.aws_iotsitewise.CfnAssetModel.AttributeProperty

interface AttributeProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTSiteWise.CfnAssetModel.AttributeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnAssetModel_AttributeProperty
Javasoftware.amazon.awscdk.services.iotsitewise.CfnAssetModel.AttributeProperty
Pythonaws_cdk.aws_iotsitewise.CfnAssetModel.AttributeProperty
TypeScript aws-cdk-lib » aws_iotsitewise » CfnAssetModel » AttributeProperty

Contains an asset attribute property.

For more information, see Defining data properties 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

NameTypeDescription
defaultValue?stringThe 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 .