1 | import { Construct } from 'constructs';
|
2 | import { CfnRefElement } from './cfn-element';
|
3 | declare type Mapping = {
|
4 | [k1: string]: {
|
5 | [k2: string]: any;
|
6 | };
|
7 | };
|
8 | export interface CfnMappingProps {
|
9 | |
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | readonly mapping?: Mapping;
|
20 | readonly lazy?: boolean;
|
21 | }
|
22 |
|
23 |
|
24 |
|
25 | export declare class CfnMapping extends CfnRefElement {
|
26 | private mapping;
|
27 | private readonly lazy?;
|
28 | private lazyRender;
|
29 | private lazyInformed;
|
30 | constructor(scope: Construct, id: string, props?: CfnMappingProps);
|
31 | /**
|
32 | * Sets a value in the map based on the two keys.
|
33 | */
|
34 | setValue(key1: string, key2: string, value: any): void;
|
35 | /**
|
36 | * @returns A reference to a value in the map based on the two keys.
|
37 | */
|
38 | findInMap(key1: string, key2: string): string;
|
39 | /**
|
40 | * @internal
|
41 | */
|
42 | _toCloudFormation(): object;
|
43 | private informLazyUse;
|
44 | private validateMapping;
|
45 | private validateAlphanumeric;
|
46 | }
|
47 | export {};
|