aws / aws/serverless-application-model

[Custom Domains][M3] Make API property Domain accept a list of objects

Open
#1,130 2 comments 4 reactions 0 assignees View on GitHub
area/resource/api type/feature
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.