UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

60 lines 2.31 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.getAwsSecretManagerConnectorOutput = exports.getAwsSecretManagerConnector = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Datasource for looking up an AWS Secret Manager connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getAwsSecretManagerConnector({ * identifier: "identifier", * }); * ``` */ function getAwsSecretManagerConnector(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getAwsSecretManagerConnector:getAwsSecretManagerConnector", { "forceDeleteWithoutRecovery": args.forceDeleteWithoutRecovery, "identifier": args.identifier, "name": args.name, "orgId": args.orgId, "projectId": args.projectId, "recoveryWindowInDays": args.recoveryWindowInDays, }, opts); } exports.getAwsSecretManagerConnector = getAwsSecretManagerConnector; /** * Datasource for looking up an AWS Secret Manager connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getAwsSecretManagerConnector({ * identifier: "identifier", * }); * ``` */ function getAwsSecretManagerConnectorOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("harness:platform/getAwsSecretManagerConnector:getAwsSecretManagerConnector", { "forceDeleteWithoutRecovery": args.forceDeleteWithoutRecovery, "identifier": args.identifier, "name": args.name, "orgId": args.orgId, "projectId": args.projectId, "recoveryWindowInDays": args.recoveryWindowInDays, }, opts); } exports.getAwsSecretManagerConnectorOutput = getAwsSecretManagerConnectorOutput; //# sourceMappingURL=getAwsSecretManagerConnector.js.map