Class: Aws::IoTSiteWise::Types::AssetModelCompositeModelDefinition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotsitewise/types.rb

Overview

Contains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description of the composite model.

Returns:

  • (String)


498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#external_idString

An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see [Using external IDs] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids

Returns:

  • (String)


498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

Returns:

  • (String)


498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the composite model.

Returns:

  • (String)


498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesArray<Types::AssetModelPropertyDefinition>

The asset property definitions for this composite model.



498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the composite model. For alarm composite models, this type is ‘AWS/ALARM`.

Returns:

  • (String)


498
499
500
501
502
503
504
505
506
507
# File 'lib/aws-sdk-iotsitewise/types.rb', line 498

class AssetModelCompositeModelDefinition < Struct.new(
  :id,
  :external_id,
  :name,
  :description,
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end