UNPKG

1.35 kBPlain TextView Raw
1/**
2 * Resource Constants that are specific to the Relation Database Transform
3 */
4export class ResourceConstants {
5
6 public static readonly ENVIRONMENT_CONTEXT_KEYS = {
7 // Aurora Serverless Imports
8 RDSRegion: 'rdsRegion',
9 RDSClusterIdentifier: 'rdsClusterIdentifier',
10 RDSSecretStoreArn: 'rdsSecretStoreArn',
11 RDSDatabaseName: 'rdsDatabaseName',
12 }
13
14 public static readonly RESOURCES = {
15 // AppSync
16 GraphQLAPILogicalID: 'GraphQLAPI',
17 GraphQLSchemaLogicalID: 'GraphQLSchema',
18 APIKeyLogicalID: 'GraphQLAPIKey',
19
20 // Relational Database
21 ResolverFileName: 'ResolverFileName',
22 RelationalDatabaseDataSource: 'RelationalDatabaseDataSource',
23 RelationalDatabaseAccessRole: 'RelationalDatabaseAccessRole',
24 }
25
26 public static PARAMETERS = {
27 // cli
28 Env: 'env',
29 S3DeploymentBucket: 'S3DeploymentBucket',
30 S3DeploymentRootKey: 'S3DeploymentRootKey',
31
32 // AppSync
33 AppSyncApiName: 'AppSyncApiName',
34 AppSyncApiId: 'AppSyncApiId',
35 APIKeyExpirationEpoch: 'APIKeyExpirationEpoch',
36
37 // Aurora Serverless
38 rdsRegion: 'rdsRegion',
39 rdsClusterIdentifier: 'rdsClusterIdentifier',
40 rdsSecretStoreArn: 'rdsSecretStoreArn',
41 rdsDatabaseName: 'rdsDatabaseName'
42 }
43}
\No newline at end of file