All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloudshift.awscdk.dsl.services.iotsitewise.CfnAssetModelAttributePropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.iotsitewise

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.iotsitewise.CfnAssetModel

/**
 * Contains an asset attribute property.
 *
 * For more information, see [Defining data
 * properties](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#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 software.amazon.awscdk.services.iotsitewise.*;
 * AttributeProperty attributeProperty = AttributeProperty.builder()
 * .defaultValue("defaultValue")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-attribute.html)
 */
@CdkDslMarker
public class CfnAssetModelAttributePropertyDsl {
  private val cdkBuilder: CfnAssetModel.AttributeProperty.Builder =
      CfnAssetModel.AttributeProperty.builder()

  /**
   * @param defaultValue 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](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-attribute-values.html) in
   * the *AWS IoT SiteWise User Guide* .
   */
  public fun defaultValue(defaultValue: String) {
    cdkBuilder.defaultValue(defaultValue)
  }

  public fun build(): CfnAssetModel.AttributeProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy