Some CloudFormation templates for reference
Creates a custom subdomain that is connected to API Gateway serving as a proxy for a Lambda Function. The Lambda Function is CICD ready with CodeBuild. This will be referred futher as the "Microservice template".
- LambdaFunction (AWS::Lambda::Function)
- APIGatewayRestAPI (AWS::ApiGateway::RestApi)
- APIGatewayResource (AWS::ApiGateway::Resource)
- APIGatewayMethod (AWS::ApiGateway::Method)
- APIGatewayDeployment (AWS::ApiGateway::Deployment)
- APIGatewayPermission (AWS::Lambda::Permission)
- LambdaIAMRole (AWS::IAM::Role)
- CodeBuildIAMRole (AWS::IAM::Role)
- LambdaCWLogGroup (AWS::Logs::LogGroup)
- CodeBuildProject (AWS::CodeBuild::Project)
- CustomDomain (AWS::ApiGateway::DomainName)
- RecordSet (AWS::Route53::RecordSet)
- APIMapping (AWS::ApiGateway::BasePathMapping)
Creates multiple Microservices as nested stacks
- Microservice1 (AWS::CloudFormation::Stack)