@pulumiverse/cpln
Version:
A Pulumi package for creating and managing Control Plane (cpln) resources.
45 lines (44 loc) • 1.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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);
* ```
*/
export declare function getCloudAccount(opts?: pulumi.InvokeOptions): Promise<GetCloudAccountResult>;
/**
* A collection of values returned by getCloudAccount.
*/
export interface GetCloudAccountResult {
readonly awsIdentifiers: string[];
readonly id: string;
}
/**
* 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);
* ```
*/
export declare function getCloudAccountOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudAccountResult>;