@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:41.852Z") 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 . |
IResource.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
BasePathMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BasePathMapping(software.amazon.jsii.JsiiObjectRef objRef) |
|
BasePathMapping(software.constructs.Construct scope,
java.lang.String id,
BasePathMappingProps props) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
protected BasePathMapping(software.amazon.jsii.JsiiObjectRef objRef)
protected BasePathMapping(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public BasePathMapping(software.constructs.Construct scope, java.lang.String id, BasePathMappingProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.