@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
32 lines • 1.19 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssetOutput = exports.getAsset = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Information about a specific hardware asset in an Outpost.
*/
function getAsset(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:outposts/getAsset:getAsset", {
"arn": args.arn,
"assetId": args.assetId,
"region": args.region,
}, opts);
}
exports.getAsset = getAsset;
/**
* Information about a specific hardware asset in an Outpost.
*/
function getAssetOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:outposts/getAsset:getAsset", {
"arn": args.arn,
"assetId": args.assetId,
"region": args.region,
}, opts);
}
exports.getAssetOutput = getAssetOutput;
//# sourceMappingURL=getAsset.js.map