Sparta v1.9.2 Release Notes
Release Date: 2019-02-17 // about 5 years ago-
- 💥 :warning: BREAKING
:checkered_flag: CHANGES
- Added
API.EndpointConfiguration
field to API. - This field exposes the EndpointConfiguration property to specify either EDGE or REGIONAL API types.
- Added
decorator.APIGatewayDomainDecorator
to associate a custom domain with an API Gateway instance - Usage:
hooks := &sparta.WorkflowHooks{} serviceDecorator := spartaDecorators.APIGatewayDomainDecorator(apiGateway, gocf.String(acmCertARNLiteral), "", // Optional base path value "subdomain.mydomain.net") hooks.ServiceDecorators = []sparta.ServiceDecoratorHookHandler{ serviceDecorator, }
- See apigateway_domain_test for a complete example.
- See the AWS Documentation for more information.
- Added
🛠 :bug: FIXED