AWS provider
Serverless Framework v4 deploys to Amazon Web Services only, so every page in these docs applies to AWS. In serverless.yml, the provider block sets name: aws and settings for the whole service, such as the Region, plus function defaults, such as the runtime, that a function can override:
# serverless.yml
service: my-service
provider:
name: aws
runtime: nodejs24.x
region: us-east-1
When serverless.yml has no provider block, or provider isn't an object (such as provider: aws), the Framework uses aws. A provider block without name, or with any other value, stops the command with Serverless Framework V.4 only supports "aws" as a Provider.; a provider.name that starts with a variable, such as ${env:PROVIDER}, stops it with Serverless Framework Variables are not supported for "provider.name".
AWS documentation sections
- AWS guide: services, functions, deploying, credentials, IAM and every feature, as guides.
- AWS Lambda events: how events trigger functions. Each event source has its own page, such as HTTP API, SQS, S3 and Schedule.
- CLI reference: every
serverlesscommand and its options. - serverless.yml reference: every
providerproperty and the rest of the file, annotated. - AWS examples: example services to start from.