Interface DomainNameProps
- All Superinterfaces:
DomainNameOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DomainNameProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:52.266Z")
@Stability(Stable)
public interface DomainNameProps
extends software.amazon.jsii.JsiiSerializable, DomainNameOptions
Example:
Object acmCertificateForExampleCom; RestApi restApi; DomainName.Builder.create(this, "custom-domain") .domainName("example.com") .certificate(acmCertificateForExampleCom) .mapping(restApi) .basePath("orders/v1/api") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDomainNameProps
static final class
An implementation forDomainNameProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainNameProps.Builder
builder()
default IRestApi
If specified, all requests to this domain will be mapped to the production deployment of this API.Methods inherited from interface software.amazon.awscdk.services.apigateway.DomainNameOptions
getBasePath, getCertificate, getDomainName, getEndpointType, getMtls, getSecurityPolicy
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMapping
If specified, all requests to this domain will be mapped to the production deployment of this API.If you wish to map this domain to multiple APIs with different base paths, use
addBasePathMapping
oraddApiMapping
.Default: - you will have to call `addBasePathMapping` to map this domain to API endpoints.
-
builder
- Returns:
- a
DomainNameProps.Builder
ofDomainNameProps
-