AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotsitewise.Asset
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::IoTSiteWise::Asset
Create Asset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
@overload
def Asset(resource_name: str,
args: AssetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Asset(resource_name: str,
opts: Optional[ResourceOptions] = None,
asset_model_id: Optional[str] = None,
asset_description: Optional[str] = None,
asset_external_id: Optional[str] = None,
asset_hierarchies: Optional[Sequence[AssetHierarchyArgs]] = None,
asset_name: Optional[str] = None,
asset_properties: Optional[Sequence[AssetPropertyArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
type: aws-native:iotsitewise:Asset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AssetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Asset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Asset resource accepts the following input properties:
- Asset
Model stringId - The ID of the asset model from which to create the asset.
- Asset
Description string - A description for the asset
- Asset
External stringId - The External ID of the asset
- Asset
Hierarchies List<Pulumi.Aws Native. Io TSite Wise. Inputs. Asset Hierarchy> - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - Asset
Name string - A unique, friendly name for the asset.
- Asset
Properties List<Pulumi.Aws Native. Io TSite Wise. Inputs. Asset Property> The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs that contain metadata for the asset.
- Asset
Model stringId - The ID of the asset model from which to create the asset.
- Asset
Description string - A description for the asset
- Asset
External stringId - The External ID of the asset
- Asset
Hierarchies []AssetHierarchy Args - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - Asset
Name string - A unique, friendly name for the asset.
- Asset
Properties []AssetProperty Args The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- Tag
Args - A list of key-value pairs that contain metadata for the asset.
- asset
Model StringId - The ID of the asset model from which to create the asset.
- asset
Description String - A description for the asset
- asset
External StringId - The External ID of the asset
- asset
Hierarchies List<AssetHierarchy> - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - asset
Name String - A unique, friendly name for the asset.
- asset
Properties List<AssetProperty> The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- List<Tag>
- A list of key-value pairs that contain metadata for the asset.
- asset
Model stringId - The ID of the asset model from which to create the asset.
- asset
Description string - A description for the asset
- asset
External stringId - The External ID of the asset
- asset
Hierarchies AssetHierarchy[] - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - asset
Name string - A unique, friendly name for the asset.
- asset
Properties AssetProperty[] The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- Tag[]
- A list of key-value pairs that contain metadata for the asset.
- asset_
model_ strid - The ID of the asset model from which to create the asset.
- asset_
description str - A description for the asset
- asset_
external_ strid - The External ID of the asset
- asset_
hierarchies Sequence[AssetHierarchy Args] - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - asset_
name str - A unique, friendly name for the asset.
- asset_
properties Sequence[AssetProperty Args] The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- Sequence[Tag
Args] - A list of key-value pairs that contain metadata for the asset.
- asset
Model StringId - The ID of the asset model from which to create the asset.
- asset
Description String - A description for the asset
- asset
External StringId - The External ID of the asset
- asset
Hierarchies List<Property Map> - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - asset
Name String - A unique, friendly name for the asset.
- asset
Properties List<Property Map> The list of asset properties for the asset.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetCompositeModels
object.- List<Property Map>
- A list of key-value pairs that contain metadata for the asset.
Outputs
All input properties are implicitly available as output properties. Additionally, the Asset resource produces the following output properties:
Supporting Types
AssetHierarchy, AssetHierarchyArgs
- Child
Asset stringId - The ID of the child asset to be associated.
- External
Id string - String-friendly customer provided external ID
- Id string
- Customer provided actual UUID for property
- Logical
Id string - The LogicalID of a hierarchy in the parent asset's model.
- Child
Asset stringId - The ID of the child asset to be associated.
- External
Id string - String-friendly customer provided external ID
- Id string
- Customer provided actual UUID for property
- Logical
Id string - The LogicalID of a hierarchy in the parent asset's model.
- child
Asset StringId - The ID of the child asset to be associated.
- external
Id String - String-friendly customer provided external ID
- id String
- Customer provided actual UUID for property
- logical
Id String - The LogicalID of a hierarchy in the parent asset's model.
- child
Asset stringId - The ID of the child asset to be associated.
- external
Id string - String-friendly customer provided external ID
- id string
- Customer provided actual UUID for property
- logical
Id string - The LogicalID of a hierarchy in the parent asset's model.
- child_
asset_ strid - The ID of the child asset to be associated.
- external_
id str - String-friendly customer provided external ID
- id str
- Customer provided actual UUID for property
- logical_
id str - The LogicalID of a hierarchy in the parent asset's model.
- child
Asset StringId - The ID of the child asset to be associated.
- external
Id String - String-friendly customer provided external ID
- id String
- Customer provided actual UUID for property
- logical
Id String - The LogicalID of a hierarchy in the parent asset's model.
AssetProperty, AssetPropertyArgs
- Alias string
- The property alias that identifies the property.
- External
Id string - String-friendly customer provided external ID
- Id string
- Customer provided actual UUID for property
- Logical
Id string - Customer provided ID for property.
- Notification
State Pulumi.Aws Native. Io TSite Wise. Asset Property Notification State - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- Unit string
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
- Alias string
- The property alias that identifies the property.
- External
Id string - String-friendly customer provided external ID
- Id string
- Customer provided actual UUID for property
- Logical
Id string - Customer provided ID for property.
- Notification
State AssetProperty Notification State - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- Unit string
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
- alias String
- The property alias that identifies the property.
- external
Id String - String-friendly customer provided external ID
- id String
- Customer provided actual UUID for property
- logical
Id String - Customer provided ID for property.
- notification
State AssetProperty Notification State - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- unit String
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
- alias string
- The property alias that identifies the property.
- external
Id string - String-friendly customer provided external ID
- id string
- Customer provided actual UUID for property
- logical
Id string - Customer provided ID for property.
- notification
State AssetProperty Notification State - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- unit string
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
- alias str
- The property alias that identifies the property.
- external_
id str - String-friendly customer provided external ID
- id str
- Customer provided actual UUID for property
- logical_
id str - Customer provided ID for property.
- notification_
state AssetProperty Notification State - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- unit str
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
- alias String
- The property alias that identifies the property.
- external
Id String - String-friendly customer provided external ID
- id String
- Customer provided actual UUID for property
- logical
Id String - Customer provided ID for property.
- notification
State "ENABLED" | "DISABLED" - The MQTT notification state (ENABLED or DISABLED) for this asset property.
- unit String
- The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.
AssetPropertyNotificationState, AssetPropertyNotificationStateArgs
- Enabled
- ENABLED
- Disabled
- DISABLED
- Asset
Property Notification State Enabled - ENABLED
- Asset
Property Notification State Disabled - DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- Enabled
- ENABLED
- Disabled
- DISABLED
- ENABLED
- ENABLED
- DISABLED
- DISABLED
- "ENABLED"
- ENABLED
- "DISABLED"
- DISABLED
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.