Interface DomainMappingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DomainMappingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.239Z")
@Stability(Experimental)
public interface DomainMappingOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) Options for DomainMapping.
Example:
import software.amazon.awscdk.services.apigatewayv2.integrations.HttpLambdaIntegration; Function handler; DomainName dn; HttpApi apiDemo = HttpApi.Builder.create(this, "DemoApi") .defaultIntegration(new HttpLambdaIntegration("DefaultIntegration", handler)) // https://${dn.domainName}/demo goes to apiDemo $default stage .defaultDomainMapping(DomainMappingOptions.builder() .domainName(dn) .mappingKey("demo") .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDomainMappingOptions
static final class
An implementation forDomainMappingOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainMappingOptions.Builder
builder()
(experimental) The domain name for the mapping.default String
(experimental) The API mapping key.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
(experimental) The domain name for the mapping. -
getMappingKey
(experimental) The API mapping key.Leave it undefined for the root path mapping.
Default: - empty key for the root path mapping
-
builder
- Returns:
- a
DomainMappingOptions.Builder
ofDomainMappingOptions
-