@Stability(value=Experimental) public static final class HttpApiMapping.Builder extends Object implements software.amazon.jsii.Builder<HttpApiMapping>
HttpApiMapping.| Modifier and Type | Method and Description |
|---|---|
HttpApiMapping.Builder |
api(IHttpApi api)
(experimental) The HttpApi to which this mapping is applied.
|
HttpApiMapping.Builder |
apiMappingKey(String apiMappingKey)
(experimental) Api mapping key.
|
HttpApiMapping |
build() |
static HttpApiMapping.Builder |
create(software.constructs.Construct scope,
String id) |
HttpApiMapping.Builder |
domainName(IDomainName domainName)
(experimental) custom domain name of the mapping target.
|
HttpApiMapping.Builder |
stage(IHttpStage stage)
(experimental) stage for the HttpApiMapping resource.
|
@Stability(value=Experimental) public static HttpApiMapping.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.HttpApiMapping.Builder.@Stability(value=Experimental) public HttpApiMapping.Builder api(IHttpApi api)
api - The HttpApi to which this mapping is applied. This parameter is required.this@Stability(value=Experimental) public HttpApiMapping.Builder domainName(IDomainName domainName)
domainName - custom domain name of the mapping target. This parameter is required.this@Stability(value=Experimental) public HttpApiMapping.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 HttpApiMapping.Builder stage(IHttpStage stage)
Default: - the $default stage
stage - stage for the HttpApiMapping resource. This parameter is required.this@Stability(value=Experimental) public HttpApiMapping build()
build in interface software.amazon.jsii.Builder<HttpApiMapping>Copyright © 2020. All rights reserved.