@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
72 lines (71 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Information about a specific hardware asset in an Outpost.
*/
export declare function getAsset(args: GetAssetArgs, opts?: pulumi.InvokeOptions): Promise<GetAssetResult>;
/**
* A collection of arguments for invoking getAsset.
*/
export interface GetAssetArgs {
/**
* Outpost ARN.
*/
arn: string;
/**
* ID of the asset.
*/
assetId: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getAsset.
*/
export interface GetAssetResult {
readonly arn: string;
readonly assetId: string;
/**
* Type of the asset.
*/
readonly assetType: string;
/**
* Host ID of the Dedicated Hosts on the asset, if a Dedicated Host is provisioned.
*/
readonly hostId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Position of an asset in a rack measured in rack units.
*/
readonly rackElevation: number;
/**
* Rack ID of the asset.
*/
readonly rackId: string;
readonly region: string;
}
/**
* Information about a specific hardware asset in an Outpost.
*/
export declare function getAssetOutput(args: GetAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssetResult>;
/**
* A collection of arguments for invoking getAsset.
*/
export interface GetAssetOutputArgs {
/**
* Outpost ARN.
*/
arn: pulumi.Input<string>;
/**
* ID of the asset.
*/
assetId: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}