Last active
December 20, 2020 15:56
-
-
Save bboure/b1b1f6e1d56e56e39b9c329727d955d8 to your computer and use it in GitHub Desktop.
serverless-part1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: | |
name: appsync-long-cache | |
plugins: | |
- serverless-appsync-plugin | |
provider: | |
name: aws | |
custom: | |
appSync: | |
name: long-cache-demo | |
schema: schema.graphql | |
authenticationType: API_KEY | |
apiKeys: | |
- name: myApiKey | |
expiresAfter: 1y | |
mappingTemplates: | |
- dataSource: wikipedia | |
type: Query | |
field: wikipedia | |
dataSources: | |
- type: HTTP | |
name: wikipedia | |
description: 'Wikipedia api' | |
config: | |
endpoint: https://en.wikipedia.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment