@aws-amplify/amplify-category-api
Version:
Amplify CLI API Category Plugin
57 lines (56 loc) • 1.45 kB
text/typescript
export const supportedDataSources = {
'Aurora Serverless': {
inputs: [
{
key: 'region',
type: 'list',
question: 'Provide the region in which your cluster is located:',
required: true,
},
{
key: 'rdsClusterIdentifier',
type: 'list',
question: 'Select the Aurora Serverless cluster that will be used as the data source for your API:',
required: true,
},
{
key: 'rdsSecretStoreArn',
type: 'list',
question: 'Select the secret used to access your Aurora Serverless cluster:',
required: true,
},
{
key: 'databaseName',
type: 'list',
question: 'Select the database to use as the datasource:',
required: true,
},
],
alias: 'Aurora Serverless',
serviceWalkthroughFilename: 'appSync-rds-walkthrough.js',
cfnFilename: 'appSync-rds-cloudformation-template-default.yml.ejs',
provider: 'awscloudformation',
availableRegions: [
'us-east-1',
'us-east-2',
'us-west-1',
'us-west-2',
'ap-east-1',
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
'ap-northeast-1',
'ap-northeast-2',
'ap-northeast-3',
'ca-central-1',
'eu-central-1',
'eu-north-1',
'eu-south-1',
'eu-west-1',
'eu-west-2',
'eu-west-3',
'me-south-1',
'sa-east-1',
],
},
};