UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

54 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.getGatewayIamPolicyOutput = exports.getGatewayIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.apigateway.getGatewayIamPolicy({ * project: apiGw.project, * region: apiGw.region, * gateway: apiGw.gatewayId, * }); * ``` */ function getGatewayIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:apigateway/getGatewayIamPolicy:getGatewayIamPolicy", { "gateway": args.gateway, "project": args.project, "region": args.region, }, opts); } exports.getGatewayIamPolicy = getGatewayIamPolicy; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.apigateway.getGatewayIamPolicy({ * project: apiGw.project, * region: apiGw.region, * gateway: apiGw.gatewayId, * }); * ``` */ function getGatewayIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:apigateway/getGatewayIamPolicy:getGatewayIamPolicy", { "gateway": args.gateway, "project": args.project, "region": args.region, }, opts); } exports.getGatewayIamPolicyOutput = getGatewayIamPolicyOutput; //# sourceMappingURL=getGatewayIamPolicy.js.map