1 |
|
2 |
|
3 |
|
4 | export class ResourceConstants {
|
5 | public static readonly ENVIRONMENT_CONTEXT_KEYS = {
|
6 |
|
7 | RDSRegion: 'rdsRegion',
|
8 | RDSClusterIdentifier: 'rdsClusterIdentifier',
|
9 | RDSSecretStoreArn: 'rdsSecretStoreArn',
|
10 | RDSDatabaseName: 'rdsDatabaseName',
|
11 | };
|
12 |
|
13 | public static readonly RESOURCES = {
|
14 |
|
15 | GraphQLAPILogicalID: 'GraphQLAPI',
|
16 | GraphQLSchemaLogicalID: 'GraphQLSchema',
|
17 | APIKeyLogicalID: 'GraphQLAPIKey',
|
18 |
|
19 |
|
20 | ResolverFileName: 'ResolverFileName',
|
21 | RelationalDatabaseDataSource: 'RelationalDatabaseDataSource',
|
22 | RelationalDatabaseAccessRole: 'RelationalDatabaseAccessRole',
|
23 | };
|
24 |
|
25 | public static PARAMETERS = {
|
26 |
|
27 | Env: 'env',
|
28 | S3DeploymentBucket: 'S3DeploymentBucket',
|
29 | S3DeploymentRootKey: 'S3DeploymentRootKey',
|
30 |
|
31 |
|
32 | AppSyncApiName: 'AppSyncApiName',
|
33 | AppSyncApiId: 'AppSyncApiId',
|
34 | APIKeyExpirationEpoch: 'APIKeyExpirationEpoch',
|
35 |
|
36 |
|
37 | rdsRegion: 'rdsRegion',
|
38 | rdsClusterIdentifier: 'rdsClusterIdentifier',
|
39 | rdsSecretStoreArn: 'rdsSecretStoreArn',
|
40 | rdsDatabaseName: 'rdsDatabaseName',
|
41 | };
|
42 | }
|