Interface BasePathMappingProps
- All Superinterfaces:
BasePathMappingOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BasePathMappingProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.072Z")
@Stability(Stable)
public interface BasePathMappingProps
extends software.amazon.jsii.JsiiSerializable, BasePathMappingOptions
Example:
RestApi api;
IDomainName domainName = DomainName.fromDomainNameAttributes(this, "DomainName", DomainNameAttributes.builder()
.domainName("domainName")
.domainNameAliasHostedZoneId("domainNameAliasHostedZoneId")
.domainNameAliasTarget("domainNameAliasTarget")
.build());
BasePathMapping.Builder.create(this, "BasePathMapping")
.domainName(domainName)
.restApi(api)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBasePathMappingPropsstatic final classAn implementation forBasePathMappingProps -
Method Summary
Modifier and TypeMethodDescriptionstatic BasePathMappingProps.Builderbuilder()The DomainName to associate with this base path mapping.The RestApi resource to target.Methods inherited from interface software.amazon.awscdk.services.apigateway.BasePathMappingOptions
getAttachToStage, getBasePath, getStageMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The DomainName to associate with this base path mapping. -
getRestApi
The RestApi resource to target. -
builder
- Returns:
- a
BasePathMappingProps.BuilderofBasePathMappingProps
-