| Modifier and Type | Method and Description |
|---|---|
HttpStage.Builder |
autoDeploy(Boolean autoDeploy)
(experimental) Whether updates to an API automatically trigger a new deployment.
|
HttpStage |
build() |
static HttpStage.Builder |
create(software.constructs.Construct scope,
String id) |
HttpStage.Builder |
domainMapping(DomainMappingOptions domainMapping)
(experimental) The options for custom domain and api mapping.
|
HttpStage.Builder |
httpApi(IHttpApi httpApi)
(experimental) The HTTP API to which this stage is associated.
|
HttpStage.Builder |
stageName(String stageName)
(experimental) The name of the stage.
|
@Stability(value=Experimental) public static HttpStage.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.HttpStage.Builder.@Stability(value=Experimental) public HttpStage.Builder autoDeploy(Boolean autoDeploy)
Default: false
autoDeploy - Whether updates to an API automatically trigger a new deployment. This parameter is required.this@Stability(value=Experimental) public HttpStage.Builder domainMapping(DomainMappingOptions domainMapping)
Default: - no custom domain and api mapping configuration
domainMapping - The options for custom domain and api mapping. This parameter is required.this@Stability(value=Experimental) public HttpStage.Builder stageName(String stageName)
See StageName class for more details.
Default: '$default' the default stage of the API. This stage will have the URL at the root of the API endpoint.
stageName - The name of the stage. This parameter is required.this@Stability(value=Experimental) public HttpStage.Builder httpApi(IHttpApi httpApi)
httpApi - The HTTP API to which this stage is associated. This parameter is required.thisCopyright © 2021. All rights reserved.