DefaultApi Directive

Your application stack can have one or more ApiGateways. LazyStack defines four predefined LazyStack API Gateway configurations.

  • ApiUnsecure
  • ApiSecure
  • HttpApiUnsecure
  • HttpApiSecure

The default ApiGateway is HttpApiSecure. To change the default API Gateway configuration, add the DefaultApi:directive to the LazyStack.yaml configuration file. For example:

# LazyStack Version 1.0.0
DefaultApi: ApiSecure