UNPKG

@pulumi/aws

Version:

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

52 lines 1.54 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.getProxyOutput = exports.getProxy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get information about a DB Proxy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const proxy = aws.rds.getProxy({ * name: "my-test-db-proxy", * }); * ``` */ function getProxy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:rds/getProxy:getProxy", { "name": args.name, "region": args.region, }, opts); } exports.getProxy = getProxy; /** * Use this data source to get information about a DB Proxy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const proxy = aws.rds.getProxy({ * name: "my-test-db-proxy", * }); * ``` */ function getProxyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:rds/getProxy:getProxy", { "name": args.name, "region": args.region, }, opts); } exports.getProxyOutput = getProxyOutput; //# sourceMappingURL=getProxy.js.map