Class CfnAssetModel.AttributeProperty
Contains an asset attribute property.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAssetModel.AttributeProperty : CfnAssetModel.IAttributeProperty
Syntax (vb)
Public Class CfnAssetModel.AttributeProperty Implements CfnAssetModel.IAttributeProperty
Remarks
For more information, see Attributes in the AWS IoT SiteWise User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var attributeProperty = new AttributeProperty {
DefaultValue = "defaultValue"
};
Synopsis
Constructors
AttributeProperty() | Contains an asset attribute property. |
Properties
DefaultValue | The default value of the asset model property attribute. |
Constructors
AttributeProperty()
Contains an asset attribute property.
public AttributeProperty()
Remarks
For more information, see Attributes in the AWS IoT SiteWise User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var attributeProperty = new AttributeProperty {
DefaultValue = "defaultValue"
};
Properties
DefaultValue
The default value of the asset model property attribute.
public string? DefaultValue { get; set; }
Property Value
Remarks
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 .