@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.450Z") @Stability(value=Experimental) public interface ApiMappingProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
IApi api;
DomainName domainName;
IStage stage;
ApiMappingProps apiMappingProps = ApiMappingProps.builder()
.api(api)
.domainName(domainName)
// the properties below are optional
.apiMappingKey("apiMappingKey")
.stage(stage)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApiMappingProps.Builder
A builder for
ApiMappingProps |
static class |
ApiMappingProps.Jsii$Proxy
An implementation for
ApiMappingProps |
| Modifier and Type | Method and Description |
|---|---|
static ApiMappingProps.Builder |
builder() |
IApi |
getApi()
(experimental) The Api to which this mapping is applied.
|
default String |
getApiMappingKey()
(experimental) Api mapping key.
|
IDomainName |
getDomainName()
(experimental) custom domain name of the mapping target.
|
default IStage |
getStage()
(experimental) stage for the ApiMapping resource required for WebSocket API defaults to default stage of an HTTP API.
|
@Stability(value=Experimental) @NotNull IApi getApi()
@Stability(value=Experimental) @NotNull IDomainName getDomainName()
@Stability(value=Experimental) @Nullable default String getApiMappingKey()
The path where this stage should be mapped to on the domain
Default: - undefined for the root path mapping.
@Stability(value=Experimental) @Nullable default IStage getStage()
Default: - Default stage of the passed API for HTTP API, required for WebSocket API
@Stability(value=Experimental) static ApiMappingProps.Builder builder()
ApiMappingProps.Builder of ApiMappingPropsCopyright © 2022. All rights reserved.