UNPKG

@pulumi/aws

Version:

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

60 lines 1.99 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.getExportOutput = exports.getExport = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.apigateway.getExport({ * restApiId: exampleAwsApiGatewayStage.restApiId, * stageName: exampleAwsApiGatewayStage.stageName, * exportType: "oas30", * }); * ``` */ function getExport(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:apigateway/getExport:getExport", { "accepts": args.accepts, "exportType": args.exportType, "parameters": args.parameters, "region": args.region, "restApiId": args.restApiId, "stageName": args.stageName, }, opts); } exports.getExport = getExport; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.apigateway.getExport({ * restApiId: exampleAwsApiGatewayStage.restApiId, * stageName: exampleAwsApiGatewayStage.stageName, * exportType: "oas30", * }); * ``` */ function getExportOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:apigateway/getExport:getExport", { "accepts": args.accepts, "exportType": args.exportType, "parameters": args.parameters, "region": args.region, "restApiId": args.restApiId, "stageName": args.stageName, }, opts); } exports.getExportOutput = getExportOutput; //# sourceMappingURL=getExport.js.map