UNPKG

@pulumiverse/cpln

Version:

A Pulumi package for creating and managing Control Plane (cpln) resources.

52 lines 1.9 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.getCloudAccountOutput = exports.getCloudAccount = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to access information about an existing [Cloud Account](https://docs.controlplane.com/reference/cloudaccount) within Control Plane. * * ## Outputs * * - **aws_identifiers** (String) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cpln from "@pulumiverse/cpln"; * * const _this = cpln.getCloudAccount({}); * export const cloudAccount = _this.then(_this => _this.awsIdentifiers); * ``` */ function getCloudAccount(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("cpln:index/getCloudAccount:getCloudAccount", {}, opts); } exports.getCloudAccount = getCloudAccount; /** * Use this data source to access information about an existing [Cloud Account](https://docs.controlplane.com/reference/cloudaccount) within Control Plane. * * ## Outputs * * - **aws_identifiers** (String) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cpln from "@pulumiverse/cpln"; * * const _this = cpln.getCloudAccount({}); * export const cloudAccount = _this.then(_this => _this.awsIdentifiers); * ``` */ function getCloudAccountOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("cpln:index/getCloudAccount:getCloudAccount", {}, opts); } exports.getCloudAccountOutput = getCloudAccountOutput; //# sourceMappingURL=getCloudAccount.js.map