@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.160Z") @Stability(value=Stable) public interface DomainNameOptions extends software.amazon.jsii.JsiiSerializable
Object acmCertificateForExampleCom;
RestApi api = RestApi.Builder.create(this, "MyDomain")
.domainName(DomainNameOptions.builder()
.domainName("example.com")
.certificate(acmCertificateForExampleCom)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DomainNameOptions.Builder
A builder for
DomainNameOptions |
static class |
DomainNameOptions.Jsii$Proxy
An implementation for
DomainNameOptions |
| Modifier and Type | Method and Description |
|---|---|
static DomainNameOptions.Builder |
builder() |
default String |
getBasePath()
The base path name that callers of the API must provide in the URL after the domain name (e.g.
|
ICertificate |
getCertificate()
The reference to an AWS-managed certificate for use by the edge-optimized endpoint for the domain name.
|
String |
getDomainName()
The custom domain name for your API.
|
default EndpointType |
getEndpointType()
The type of endpoint for this DomainName.
|
default MTLSConfig |
getMtls()
The mutual TLS authentication configuration for a custom domain name.
|
default SecurityPolicy |
getSecurityPolicy()
The Transport Layer Security (TLS) version + cipher suite for this domain name.
|
@Stability(value=Stable) @NotNull ICertificate getCertificate()
For "EDGE" domain names, the certificate needs to be in the US East (N. Virginia) region.
@Stability(value=Stable) @NotNull String getDomainName()
Uppercase letters are not supported.
@Stability(value=Stable) @Nullable default String getBasePath()
Default: - map requests from the domain root (e.g. `example.com`). If this is undefined, no additional mappings will be allowed on this domain name.
@Stability(value=Stable) @Nullable default EndpointType getEndpointType()
Default: REGIONAL
@Stability(value=Stable) @Nullable default MTLSConfig getMtls()
Default: - mTLS is not configured.
@Stability(value=Stable) @Nullable default SecurityPolicy getSecurityPolicy()
Default: SecurityPolicy.TLS_1_0
@Stability(value=Stable) static DomainNameOptions.Builder builder()
DomainNameOptions.Builder of DomainNameOptionsCopyright © 2022. All rights reserved.