AWS Native

Pulumi Official
Package maintained by Pulumi
v0.16.1 published on Saturday, Apr 30, 2022 by Pulumi

Asset

Resource schema for AWS::IoTSiteWise::Asset

Create a Asset Resource

new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
@overload
def Asset(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          asset_hierarchies: Optional[Sequence[AssetHierarchyArgs]] = None,
          asset_model_id: Optional[str] = None,
          asset_name: Optional[str] = None,
          asset_properties: Optional[Sequence[AssetPropertyArgs]] = None,
          tags: Optional[Sequence[AssetTagArgs]] = None)
@overload
def Asset(resource_name: str,
          args: AssetArgs,
          opts: Optional[ResourceOptions] = None)
func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
public Asset(String name, AssetArgs args)
public Asset(String name, AssetArgs args, CustomResourceOptions options)
type: aws-native:iotsitewise:Asset
properties: # The arguments to resource properties.
options: # 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.
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:

AssetModelId string

The ID of the asset model from which to create the asset.

AssetHierarchies List<Pulumi.AwsNative.IoTSiteWise.Inputs.AssetHierarchyArgs>
AssetName string

A unique, friendly name for the asset.

AssetProperties List<Pulumi.AwsNative.IoTSiteWise.Inputs.AssetPropertyArgs>
Tags List<Pulumi.AwsNative.IoTSiteWise.Inputs.AssetTagArgs>

A list of key-value pairs that contain metadata for the asset.

AssetModelId string

The ID of the asset model from which to create the asset.

AssetHierarchies []AssetHierarchyArgs
AssetName string

A unique, friendly name for the asset.

AssetProperties []AssetPropertyArgs
Tags []AssetTagArgs

A list of key-value pairs that contain metadata for the asset.

assetModelId String

The ID of the asset model from which to create the asset.

assetHierarchies ListHierarchyArgs>
assetName String

A unique, friendly name for the asset.

assetProperties ListPropertyArgs>
tags ListTagArgs>

A list of key-value pairs that contain metadata for the asset.

assetModelId string

The ID of the asset model from which to create the asset.

assetHierarchies AssetHierarchyArgs[]
assetName string

A unique, friendly name for the asset.

assetProperties AssetPropertyArgs[]
tags AssetTagArgs[]

A list of key-value pairs that contain metadata for the asset.

asset_model_id str

The ID of the asset model from which to create the asset.

asset_hierarchies Sequence[AssetHierarchyArgs]
asset_name str

A unique, friendly name for the asset.

asset_properties Sequence[AssetPropertyArgs]
tags Sequence[AssetTagArgs]

A list of key-value pairs that contain metadata for the asset.

assetModelId String

The ID of the asset model from which to create the asset.

assetHierarchies List
assetName String

A unique, friendly name for the asset.

assetProperties List
tags List

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:

AssetArn string

The ARN of the asset

AssetId string

The ID of the asset

Id string

The provider-assigned unique ID for this managed resource.

AssetArn string

The ARN of the asset

AssetId string

The ID of the asset

Id string

The provider-assigned unique ID for this managed resource.

assetArn String

The ARN of the asset

assetId String

The ID of the asset

id String

The provider-assigned unique ID for this managed resource.

assetArn string

The ARN of the asset

assetId string

The ID of the asset

id string

The provider-assigned unique ID for this managed resource.

asset_arn str

The ARN of the asset

asset_id str

The ID of the asset

id str

The provider-assigned unique ID for this managed resource.

assetArn String

The ARN of the asset

assetId String

The ID of the asset

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

AssetHierarchy

ChildAssetId string

The ID of the child asset to be associated.

LogicalId string

The LogicalID of a hierarchy in the parent asset's model.

ChildAssetId string

The ID of the child asset to be associated.

LogicalId string

The LogicalID of a hierarchy in the parent asset's model.

childAssetId String

The ID of the child asset to be associated.

logicalId String

The LogicalID of a hierarchy in the parent asset's model.

childAssetId string

The ID of the child asset to be associated.

logicalId string

The LogicalID of a hierarchy in the parent asset's model.

child_asset_id str

The ID of the child asset to be associated.

logical_id str

The LogicalID of a hierarchy in the parent asset's model.

childAssetId String

The ID of the child asset to be associated.

logicalId String

The LogicalID of a hierarchy in the parent asset's model.

AssetProperty

LogicalId string

Customer provided ID for property.

Alias string

The property alias that identifies the property.

NotificationState Pulumi.AwsNative.IoTSiteWise.AssetPropertyNotificationState

The MQTT notification state (ENABLED or DISABLED) for this asset property.

LogicalId string

Customer provided ID for property.

Alias string

The property alias that identifies the property.

NotificationState AssetPropertyNotificationState

The MQTT notification state (ENABLED or DISABLED) for this asset property.

logicalId String

Customer provided ID for property.

alias String

The property alias that identifies the property.

notificationState AssetPropertyNotificationState

The MQTT notification state (ENABLED or DISABLED) for this asset property.

logicalId string

Customer provided ID for property.

alias string

The property alias that identifies the property.

notificationState AssetPropertyNotificationState

The MQTT notification state (ENABLED or DISABLED) for this asset property.

logical_id str

Customer provided ID for property.

alias str

The property alias that identifies the property.

notification_state AssetPropertyNotificationState

The MQTT notification state (ENABLED or DISABLED) for this asset property.

logicalId String

Customer provided ID for property.

alias String

The property alias that identifies the property.

notificationState "ENABLED" | "DISABLED"

The MQTT notification state (ENABLED or DISABLED) for this asset property.

AssetPropertyNotificationState

Enabled
ENABLED
Disabled
DISABLED
AssetPropertyNotificationStateEnabled
ENABLED
AssetPropertyNotificationStateDisabled
DISABLED
Enabled
ENABLED
Disabled
DISABLED
Enabled
ENABLED
Disabled
DISABLED
ENABLED
ENABLED
DISABLED
DISABLED
"ENABLED"
ENABLED
"DISABLED"
DISABLED

AssetTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0