@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.088Z") @Stability(value=Stable) public interface BasePathMappingOptions extends software.amazon.jsii.JsiiSerializable
DomainName domain;
RestApi api1;
RestApi api2;
domain.addBasePathMapping(api1, BasePathMappingOptions.builder().basePath("go-to-api1").build());
domain.addBasePathMapping(api2, BasePathMappingOptions.builder().basePath("boom").build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasePathMappingOptions.Builder
A builder for
BasePathMappingOptions |
static class |
BasePathMappingOptions.Jsii$Proxy
An implementation for
BasePathMappingOptions |
| Modifier and Type | Method and Description |
|---|---|
static BasePathMappingOptions.Builder |
builder() |
default String |
getBasePath()
The base path name that callers of the API must provide in the URL after the domain name (e.g.
|
default Stage |
getStage()
The Deployment stage of API [disable-awslint:ref-via-interface].
|
@Stability(value=Stable) @Nullable default String getBasePath()
Default: - map requests from the domain root (e.g. `example.com`). If this is undefined, no additional mappings will be allowed on this domain name.
@Stability(value=Stable) @Nullable default Stage getStage()
Default: - map to deploymentStage of restApi otherwise stage needs to pass in URL
@Stability(value=Stable) static BasePathMappingOptions.Builder builder()
BasePathMappingOptions.Builder of BasePathMappingOptionsCopyright © 2022. All rights reserved.