We recommend new projects start with resources from the AWS provider.
aws-native.iotsitewise.getAsset
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
External stringId - The External ID of the asset
- Asset
Hierarchies List<Pulumi.Aws Native. Io TSite Wise. Outputs. Asset Hierarchy> - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - 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> 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. Outputs. 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
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
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 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
Arn String - The ARN of 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
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> 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
Arn string - The ARN of 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
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[] 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_
arn str - The ARN of the asset
- asset_
description str - A description for the asset
- asset_
external_ strid - The External ID of the asset
- asset_
hierarchies Sequence[AssetHierarchy] - A list of asset hierarchies that each contain a
hierarchyId
. A hierarchy specifies allowed parent/child asset relationships. - 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] 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[root_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
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
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> 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.
Supporting Types
AssetHierarchy
- 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
- 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
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.