aws / aws/serverless-application-model
[Custom Domains][M3] Make API property Domain accept a list of objects
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 2.5k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 7
Description
## Related Issues
#783
## Description
Custom Domains Milestone 3 is to enable multiple domains to multiple Apis mapping. The task tracks adding multiple domains in SAM template.
```yaml
Type: AWS::Serverless::Api
Properties:
Domain:
- DomainName: example.com
Certificate: !Ref MyApiExampleDomainCertificate
- DomainName: another.com
Certificate: !Ref MyApiAnotherDomainCertificate
EndpointConfiguration: REGIONAL # this is default, so same as not having this here
```
Resources - Create a 'AWS::ApiGateway::DomainName' and `AWS::ApiGateway::BasePathMapping` for each domain name:api mapping.
Contributor guide
Assessment
This issue has not been assessed yet.