1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.supportedDatasources = void 0;
|
4 | exports.supportedDatasources = {
|
5 | 'Aurora Serverless': {
|
6 | inputs: [
|
7 | {
|
8 | key: 'region',
|
9 | type: 'list',
|
10 | question: 'Provide the region in which your cluster is located:',
|
11 | required: true,
|
12 | },
|
13 | {
|
14 | key: 'rdsClusterIdentifier',
|
15 | type: 'list',
|
16 | question: 'Select the Aurora Serverless cluster that will be used as the data source for your API:',
|
17 | required: true,
|
18 | },
|
19 | {
|
20 | key: 'rdsSecretStoreArn',
|
21 | type: 'list',
|
22 | question: 'Select the secret used to access your Aurora Serverless cluster:',
|
23 | required: true,
|
24 | },
|
25 | {
|
26 | key: 'databaseName',
|
27 | type: 'list',
|
28 | question: 'Select the database to use as the datasource:',
|
29 | required: true,
|
30 | },
|
31 | ],
|
32 | alias: 'Aurora Serverless',
|
33 | defaultValuesFilename: 'appSync-rds-defaults.js',
|
34 | serviceWalkthroughFilename: 'appSync-rds-walkthrough.js',
|
35 | cfnFilename: 'appSync-rds-cloudformation-template-default.yml.ejs',
|
36 | provider: 'awscloudformation',
|
37 | availableRegions: [
|
38 | 'us-east-1',
|
39 | 'us-east-2',
|
40 | 'us-west-1',
|
41 | 'us-west-2',
|
42 | 'ap-south-1',
|
43 | 'ap-southeast-1',
|
44 | 'ap-southeast-2',
|
45 | 'ap-northeast-1',
|
46 | 'eu-central-1',
|
47 | 'eu-west-1',
|
48 | 'eu-west-2',
|
49 | 'eu-west-3',
|
50 | ],
|
51 | },
|
52 | };
|
53 |
|
\ | No newline at end of file |