@Stability(value=Experimental) public static final class ApiMapping.Builder extends Object implements software.amazon.jsii.Builder<ApiMapping>
ApiMapping.| Modifier and Type | Method and Description |
|---|---|
ApiMapping.Builder |
api(IApi api)
(experimental) The Api to which this mapping is applied.
|
ApiMapping.Builder |
apiMappingKey(String apiMappingKey)
(experimental) Api mapping key.
|
ApiMapping |
build() |
static ApiMapping.Builder |
create(software.constructs.Construct scope,
String id) |
ApiMapping.Builder |
domainName(IDomainName domainName)
(experimental) custom domain name of the mapping target.
|
ApiMapping.Builder |
stage(IStage stage)
(experimental) stage for the ApiMapping resource required for WebSocket API defaults to default stage of an HTTP API.
|
@Stability(value=Experimental) public static ApiMapping.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ApiMapping.Builder.@Stability(value=Experimental) public ApiMapping.Builder api(IApi api)
api - The Api to which this mapping is applied. This parameter is required.this@Stability(value=Experimental) public ApiMapping.Builder domainName(IDomainName domainName)
domainName - custom domain name of the mapping target. This parameter is required.this@Stability(value=Experimental) public ApiMapping.Builder apiMappingKey(String apiMappingKey)
The path where this stage should be mapped to on the domain
Default: - undefined for the root path mapping.
apiMappingKey - Api mapping key. This parameter is required.this@Stability(value=Experimental) public ApiMapping.Builder stage(IStage stage)
Default: - Default stage of the passed API for HTTP API, required for WebSocket API
stage - stage for the ApiMapping resource required for WebSocket API defaults to default stage of an HTTP API. This parameter is required.this@Stability(value=Experimental) public ApiMapping build()
build in interface software.amazon.jsii.Builder<ApiMapping>Copyright © 2021. All rights reserved.