UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

62 lines 1.81 kB
"use strict"; // *** 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.getOutpostOutput = exports.getOutpost = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about an Outposts Outpost. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.outposts.getOutpost({ * name: "example", * }); * ``` */ function getOutpost(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:outposts/getOutpost:getOutpost", { "arn": args.arn, "id": args.id, "name": args.name, "ownerId": args.ownerId, "region": args.region, "tags": args.tags, }, opts); } exports.getOutpost = getOutpost; /** * Provides details about an Outposts Outpost. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.outposts.getOutpost({ * name: "example", * }); * ``` */ function getOutpostOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:outposts/getOutpost:getOutpost", { "arn": args.arn, "id": args.id, "name": args.name, "ownerId": args.ownerId, "region": args.region, "tags": args.tags, }, opts); } exports.getOutpostOutput = getOutpostOutput; //# sourceMappingURL=getOutpost.js.map