@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:23.627Z") @Stability(value=Experimental) public interface HttpStageOptions extends software.amazon.jsii.JsiiSerializable, StageOptions
Example:
HttpApi api;
DomainName dn;
api.addStage("beta", HttpStageOptions.builder()
.stageName("beta")
.autoDeploy(true)
// https://${dn.domainName}/bar goes to the beta stage
.domainMapping(DomainMappingOptions.builder()
.domainName(dn)
.mappingKey("bar")
.build())
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpStageOptions.Builder
A builder for
HttpStageOptions |
static class |
HttpStageOptions.Jsii$Proxy
An implementation for
HttpStageOptions |
| Modifier and Type | Method and Description |
|---|---|
static HttpStageOptions.Builder |
builder() |
default String |
getStageName()
(experimental) The name of the stage.
|
getAutoDeploy, getDomainMapping, getThrottle@Stability(value=Experimental) @Nullable default String getStageName()
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.
@Stability(value=Experimental) static HttpStageOptions.Builder builder()
builder in interface StageOptionsHttpStageOptions.Builder of HttpStageOptionsCopyright © 2022. All rights reserved.