"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInstanceSslsOutput = exports.getInstanceSsls = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds postgresql instance ssls
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceSsls({
 *     downloadCertificate: true,
 *     ids: [
 *         "postgres-72715e0d9f58",
 *         "postgres-0ac38a79fe35",
 *     ],
 * });
 * ```
 */
function getInstanceSsls(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/getInstanceSsls:getInstanceSsls", {
        "downloadCertificate": args.downloadCertificate,
        "ids": args.ids,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getInstanceSsls = getInstanceSsls;
/**
 * Use this data source to query detailed information of rds postgresql instance ssls
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceSsls({
 *     downloadCertificate: true,
 *     ids: [
 *         "postgres-72715e0d9f58",
 *         "postgres-0ac38a79fe35",
 *     ],
 * });
 * ```
 */
function getInstanceSslsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getInstanceSsls(a, opts));
}
exports.getInstanceSslsOutput = getInstanceSslsOutput;
//# sourceMappingURL=getInstanceSsls.js.map