Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update serverless.yml.md #6085

Merged
merged 1 commit into from
May 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/providers/aws/guide/serverless.yml.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ provider:
websocketsApiRouteSelectionExpression: $request.body.route # custom route selection expression websocketsApiRouteSelectionExpression: $request.body.route # custom route selection expression
profile: production # The default profile to use with this service profile: production # The default profile to use with this service
memorySize: 512 # Overwrite the default memory size. Default is 1024 memorySize: 512 # Overwrite the default memory size. Default is 1024
reservedConcurrency: 5 # optional, Overwrite the default reserved concurrency limit. By default, AWS uses account concurrency limit
timeout: 10 # The default is 6 seconds. Note: API Gateway current maximum is 30 seconds timeout: 10 # The default is 6 seconds. Note: API Gateway current maximum is 30 seconds
logRetentionInDays: 14 # Set the default RetentionInDays for a CloudWatch LogGroup logRetentionInDays: 14 # Set the default RetentionInDays for a CloudWatch LogGroup
deploymentBucket: deploymentBucket:
Expand Down Expand Up @@ -143,6 +144,7 @@ functions:
name: ${self:provider.stage}-lambdaName # optional, Deployed Lambda name name: ${self:provider.stage}-lambdaName # optional, Deployed Lambda name
description: My function # The description of your function. description: My function # The description of your function.
memorySize: 512 # memorySize for this specific function. memorySize: 512 # memorySize for this specific function.
reservedConcurrency: 5 # optional, reserved concurrency limit for this function. By default, AWS uses account concurrency limit
runtime: nodejs6.10 # Runtime for this specific function. Overrides the default which is set on the provider level runtime: nodejs6.10 # Runtime for this specific function. Overrides the default which is set on the provider level
timeout: 10 # Timeout for this specific function. Overrides the default set above. timeout: 10 # Timeout for this specific function. Overrides the default set above.
role: arn:aws:iam::XXXXXX:role/role # IAM role which will be used for this function role: arn:aws:iam::XXXXXX:role/role # IAM role which will be used for this function
Expand Down