@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
52 lines • 1.66 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.getParameterGroupOutput = exports.getParameterGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Information about a database parameter group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.rds.getParameterGroup({
* name: "default.postgres15",
* });
* ```
*/
function getParameterGroup(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:rds/getParameterGroup:getParameterGroup", {
"name": args.name,
"region": args.region,
}, opts);
}
exports.getParameterGroup = getParameterGroup;
/**
* Information about a database parameter group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.rds.getParameterGroup({
* name: "default.postgres15",
* });
* ```
*/
function getParameterGroupOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:rds/getParameterGroup:getParameterGroup", {
"name": args.name,
"region": args.region,
}, opts);
}
exports.getParameterGroupOutput = getParameterGroupOutput;
//# sourceMappingURL=getParameterGroup.js.map
;