Initial import
This commit is contained in:
5
amplify/backend/api/mysvelteproject/parameters.json
Normal file
5
amplify/backend/api/mysvelteproject/parameters.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"AppSyncApiName": "mysvelteproject",
|
||||
"DynamoDBBillingMode": "PAY_PER_REQUEST",
|
||||
"DynamoDBEnableServerSideEncryption": "false"
|
||||
}
|
||||
5
amplify/backend/api/mysvelteproject/schema.graphql
Normal file
5
amplify/backend/api/mysvelteproject/schema.graphql
Normal file
@@ -0,0 +1,5 @@
|
||||
type Todo @model {
|
||||
id: ID!
|
||||
done: Boolean!
|
||||
description: String
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"AWSTemplateFormatVersion": "2010-09-09",
|
||||
"Description": "An auto-generated nested stack.",
|
||||
"Metadata": {},
|
||||
"Parameters": {
|
||||
"AppSyncApiId": {
|
||||
"Type": "String",
|
||||
"Description": "The id of the AppSync API associated with this project."
|
||||
},
|
||||
"AppSyncApiName": {
|
||||
"Type": "String",
|
||||
"Description": "The name of the AppSync API",
|
||||
"Default": "AppSyncSimpleTransform"
|
||||
},
|
||||
"env": {
|
||||
"Type": "String",
|
||||
"Description": "The environment name. e.g. Dev, Test, or Production",
|
||||
"Default": "NONE"
|
||||
},
|
||||
"S3DeploymentBucket": {
|
||||
"Type": "String",
|
||||
"Description": "The S3 bucket containing all deployment assets for the project."
|
||||
},
|
||||
"S3DeploymentRootKey": {
|
||||
"Type": "String",
|
||||
"Description": "An S3 key relative to the S3DeploymentBucket that points to the root\nof the deployment directory."
|
||||
}
|
||||
},
|
||||
"Resources": {
|
||||
"EmptyResource": {
|
||||
"Type": "Custom::EmptyResource",
|
||||
"Condition": "AlwaysFalse"
|
||||
}
|
||||
},
|
||||
"Conditions": {
|
||||
"HasEnvironmentParameter": {
|
||||
"Fn::Not": [
|
||||
{
|
||||
"Fn::Equals": [
|
||||
{
|
||||
"Ref": "env"
|
||||
},
|
||||
"NONE"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"AlwaysFalse": {
|
||||
"Fn::Equals": [
|
||||
"true",
|
||||
"false"
|
||||
]
|
||||
}
|
||||
},
|
||||
"Outputs": {
|
||||
"EmptyOutput": {
|
||||
"Description": "An empty output. You may delete this if you have at least one resource above.",
|
||||
"Value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
4
amplify/backend/api/mysvelteproject/transform.conf.json
Normal file
4
amplify/backend/api/mysvelteproject/transform.conf.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"Version": 5,
|
||||
"ElasticsearchWarning": true
|
||||
}
|
||||
20
amplify/backend/backend-config.json
Normal file
20
amplify/backend/backend-config.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"api": {
|
||||
"mysvelteproject": {
|
||||
"service": "AppSync",
|
||||
"providerPlugin": "awscloudformation",
|
||||
"output": {
|
||||
"authConfig": {
|
||||
"additionalAuthenticationProviders": [],
|
||||
"defaultAuthentication": {
|
||||
"authenticationType": "API_KEY",
|
||||
"apiKeyConfig": {
|
||||
"description": "",
|
||||
"apiKeyExpirationDays": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user