@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.087Z") @Stability(value=Stable) public class BasePathMapping extends Resource
Unless you're importing a domain with DomainName.fromDomainNameAttributes(),
you can use DomainName.addBasePathMapping() to define mappings.
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.apigateway.*;
DomainName domainName;
RestApi restApi;
Stage stage;
BasePathMapping basePathMapping = BasePathMapping.Builder.create(this, "MyBasePathMapping")
.domainName(domainName)
.restApi(restApi)
// the properties below are optional
.basePath("basePath")
.stage(stage)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
BasePathMapping.Builder
A fluent builder for
BasePathMapping. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
BasePathMapping(software.constructs.Construct scope,
String id,
BasePathMappingProps props) |
protected |
BasePathMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BasePathMapping(software.amazon.jsii.JsiiObjectRef objRef) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BasePathMapping(software.amazon.jsii.JsiiObjectRef objRef)
protected BasePathMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public BasePathMapping(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
BasePathMappingProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.