1 | import { Intrinsic } from './private/intrinsic';
|
2 | /**
|
3 | * Properties for a Dynamic Reference
|
4 | */
|
5 | export interface CfnDynamicReferenceProps {
|
6 | /**
|
7 | * The service to retrieve the dynamic reference from
|
8 | */
|
9 | readonly service: CfnDynamicReferenceService;
|
10 | /**
|
11 | * The reference key of the dynamic reference
|
12 | */
|
13 | readonly referenceKey: string;
|
14 | }
|
15 | /**
|
16 | * References a dynamically retrieved value
|
17 | *
|
18 | * This is a Construct so that subclasses will (eventually) be able to attach
|
19 | * metadata to themselves without having to change call signatures.
|
20 | *
|
21 | * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html
|
22 | */
|
23 | export declare class CfnDynamicReference extends Intrinsic {
|
24 | constructor(service: CfnDynamicReferenceService, key: string);
|
25 | }
|
26 | /**
|
27 | * The service to retrieve the dynamic reference from
|
28 | */
|
29 | export declare enum CfnDynamicReferenceService {
|
30 | /**
|
31 | * Plaintext value stored in AWS Systems Manager Parameter Store
|
32 | */
|
33 | SSM = "ssm",
|
34 | /**
|
35 | * Secure string stored in AWS Systems Manager Parameter Store
|
36 | */
|
37 | SSM_SECURE = "ssm-secure",
|
38 | /**
|
39 | * Secret stored in AWS Secrets Manager
|
40 | */
|
41 | SECRETS_MANAGER = "secretsmanager"
|
42 | }
|