aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.iotsitewise.getAsset

Explore with Pulumi AI

Resource schema for AWS::IoTSiteWise::Asset

Using getAsset

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAsset(args: GetAssetArgs, opts?: InvokeOptions): Promise<GetAssetResult>
function getAssetOutput(args: GetAssetOutputArgs, opts?: InvokeOptions): Output<GetAssetResult>
def get_asset(asset_id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetAssetResult
def get_asset_output(asset_id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetAssetResult]
func LookupAsset(ctx *Context, args *LookupAssetArgs, opts ...InvokeOption) (*LookupAssetResult, error)
func LookupAssetOutput(ctx *Context, args *LookupAssetOutputArgs, opts ...InvokeOption) LookupAssetResultOutput

> Note: This function is named LookupAsset in the Go SDK.

public static class GetAsset 
{
    public static Task<GetAssetResult> InvokeAsync(GetAssetArgs args, InvokeOptions? opts = null)
    public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:iotsitewise:getAsset
  arguments:
    # arguments dictionary

The following arguments are supported:

AssetId string

The ID of the asset

AssetId string

The ID of the asset

assetId String

The ID of the asset

assetId string

The ID of the asset

asset_id str

The ID of the asset

assetId String

The ID of the asset

getAsset Result

The following output properties are available:

AssetArn string

The ARN of the asset

AssetDescription string

A description for the asset

AssetHierarchies List<Pulumi.AwsNative.IoTSiteWise.Outputs.AssetHierarchy>
AssetId string

The ID of the asset

AssetModelId string

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

AssetName string

A unique, friendly name for the asset.

AssetProperties List<Pulumi.AwsNative.IoTSiteWise.Outputs.AssetProperty>
Tags List<Pulumi.AwsNative.IoTSiteWise.Outputs.AssetTag>

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

AssetArn string

The ARN of the asset

AssetDescription string

A description for the asset

AssetHierarchies []AssetHierarchy
AssetId string

The ID of the asset

AssetModelId string

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

AssetName string

A unique, friendly name for the asset.

AssetProperties []AssetProperty
Tags []AssetTag

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

assetArn String

The ARN of the asset

assetDescription String

A description for the asset

assetHierarchies List<AssetHierarchy>
assetId String

The ID of the asset

assetModelId String

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

assetName String

A unique, friendly name for the asset.

assetProperties List<AssetProperty>
tags List<AssetTag>

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

assetArn string

The ARN of the asset

assetDescription string

A description for the asset

assetHierarchies AssetHierarchy[]
assetId string

The ID of the asset

assetModelId string

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

assetName string

A unique, friendly name for the asset.

assetProperties AssetProperty[]
tags AssetTag[]

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

asset_arn str

The ARN of the asset

asset_description str

A description for the asset

asset_hierarchies Sequence[AssetHierarchy]
asset_id str

The ID of the asset

asset_model_id str

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

asset_name str

A unique, friendly name for the asset.

asset_properties Sequence[AssetProperty]
tags Sequence[AssetTag]

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

assetArn String

The ARN of the asset

assetDescription String

A description for the asset

assetHierarchies List<Property Map>
assetId String

The ID of the asset

assetModelId String

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

assetName String

A unique, friendly name for the asset.

assetProperties List<Property Map>
tags List<Property Map>

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

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
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0