UNPKG

1.2 kBTypeScriptView Raw
1import { Construct } from './construct-compat';
2/**
3 * Accessor for pseudo parameters
4 *
5 * Since pseudo parameters need to be anchored to a stack somewhere in the
6 * construct tree, this class takes an scope parameter; the pseudo parameter
7 * values can be obtained as properties from an scoped object.
8 */
9export declare class Aws {
10 static readonly ACCOUNT_ID: string;
11 static readonly URL_SUFFIX: string;
12 static readonly NOTIFICATION_ARNS: string[];
13 static readonly PARTITION: string;
14 static readonly REGION: string;
15 static readonly STACK_ID: string;
16 static readonly STACK_NAME: string;
17 static readonly NO_VALUE: string;
18 private constructor();
19}
20/**
21 * Accessor for scoped pseudo parameters
22 *
23 * These pseudo parameters are anchored to a stack somewhere in the construct
24 * tree, and their values will be exported automatically.
25 */
26export declare class ScopedAws {
27 private readonly scope;
28 constructor(scope: Construct);
29 get accountId(): string;
30 get urlSuffix(): string;
31 get notificationArns(): string[];
32 get partition(): string;
33 get region(): string;
34 get stackId(): string;
35 get stackName(): string;
36 private asString;
37}