@spacelift-io/pulumi-spacelift
Version:
A Pulumi package for creating and managing Spacelift resources.
49 lines (48 loc) • 1.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* `spacelift.getAccount` represents the currently used Spacelift **account**
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const this = spacelift.getAccount({});
* ```
*/
export declare function getAccount(opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
/**
* A collection of values returned by getAccount.
*/
export interface GetAccountResult {
/**
* the ID of the AWS account used by Spacelift for role assumption
*/
readonly awsAccountId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* name of the account
*/
readonly name: string;
/**
* account billing tier
*/
readonly tier: string;
}
/**
* `spacelift.getAccount` represents the currently used Spacelift **account**
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const this = spacelift.getAccount({});
* ```
*/
export declare function getAccountOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;