@aws-cdk/core
Version:
AWS Cloud Development Kit Core Library
38 lines (37 loc) • 1.21 kB
TypeScript
import { Construct } from './construct';
/**
* Accessor for pseudo parameters
*
* Since pseudo parameters need to be anchored to a stack somewhere in the
* construct tree, this class takes an scope parameter; the pseudo parameter
* values can be obtained as properties from an scoped object.
*/
export declare class Aws {
static readonly ACCOUNT_ID: string;
static readonly URL_SUFFIX: string;
static readonly NOTIFICATION_ARNS: string[];
static readonly PARTITION: string;
static readonly REGION: string;
static readonly STACK_ID: string;
static readonly STACK_NAME: string;
static readonly NO_VALUE: string;
private constructor();
}
/**
* Accessor for scoped pseudo parameters
*
* These pseudo parameters are anchored to a stack somewhere in the construct
* tree, and their values will be exported automatically.
*/
export declare class ScopedAws {
private readonly scope;
constructor(scope: Construct);
readonly accountId: string;
readonly urlSuffix: string;
readonly notificationArns: string[];
readonly partition: string;
readonly region: string;
readonly stackId: string;
readonly stackName: string;
private asString;
}