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:
- Asset
Id string The ID of the asset
- Asset
Id string The ID of the asset
- asset
Id String The ID of the asset
- asset
Id string The ID of the asset
- asset_
id str The ID of the asset
- asset
Id String The ID of the asset
getAsset Result
The following output properties are available:
- Asset
Arn string The ARN of the asset
- Asset
Description string A description for the asset
- Asset
Hierarchies List<Pulumi.Aws Native. Io TSite Wise. Outputs. Asset Hierarchy> - Asset
Id string The ID of the asset
- Asset
Model stringId The ID of the asset model from which to create the asset.
- Asset
Name string A unique, friendly name for the asset.
- Asset
Properties List<Pulumi.Aws Native. Io TSite Wise. Outputs. Asset Property> - List<Pulumi.
Aws Native. Io TSite Wise. Outputs. Asset Tag> A list of key-value pairs that contain metadata for the asset.
- Asset
Arn string The ARN of the asset
- Asset
Description string A description for the asset
- Asset
Hierarchies []AssetHierarchy - Asset
Id string The ID of the asset
- Asset
Model stringId The ID of the asset model from which to create the asset.
- Asset
Name string A unique, friendly name for the asset.
- Asset
Properties []AssetProperty - []Asset
Tag A list of key-value pairs that contain metadata for the asset.
- asset
Arn String The ARN of the asset
- asset
Description String A description for the asset
- asset
Hierarchies List<AssetHierarchy> - asset
Id String The ID of the asset
- asset
Model StringId The ID of the asset model from which to create the asset.
- asset
Name String A unique, friendly name for the asset.
- asset
Properties List<AssetProperty> - List<Asset
Tag> A list of key-value pairs that contain metadata for the asset.
- asset
Arn string The ARN of the asset
- asset
Description string A description for the asset
- asset
Hierarchies AssetHierarchy[] - asset
Id string The ID of the asset
- asset
Model stringId The ID of the asset model from which to create the asset.
- asset
Name string A unique, friendly name for the asset.
- asset
Properties AssetProperty[] - Asset
Tag[] 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_ strid 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] - Sequence[Asset
Tag] A list of key-value pairs that contain metadata for the asset.
- asset
Arn String The ARN of the asset
- asset
Description String A description for the asset
- asset
Hierarchies List<Property Map> - asset
Id String The ID of the asset
- asset
Model StringId The ID of the asset model from which to create the asset.
- asset
Name String A unique, friendly name for the asset.
- asset
Properties List<Property Map> - List<Property Map>
A list of key-value pairs that contain metadata for the asset.
Supporting Types
AssetHierarchy
- Child
Asset stringId The ID of the child asset to be associated.
- 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.
- 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.
- 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.
- 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.
- 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.
- logical
Id String The LogicalID of a hierarchy in the parent asset's model.
AssetProperty
- Logical
Id string Customer provided ID for property.
- Alias string
The property alias that identifies the 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.
- Logical
Id string Customer provided ID for property.
- Alias string
The property alias that identifies the 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.
- logical
Id String Customer provided ID for property.
- alias String
The property alias that identifies the 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.
- logical
Id string Customer provided ID for property.
- alias string
The property alias that identifies the 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.
- logical_
id str Customer provided ID for property.
- alias str
The property alias that identifies the 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.
- logical
Id String Customer provided ID for property.
- alias String
The property alias that identifies the 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
AssetTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0