@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-02T20:25:34.846Z")
public interface DomainNameOptions
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 java.lang.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.
|
java.lang.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.
|
ICertificate getCertificate()
For "EDGE" domain names, the certificate needs to be in the US East (N. Virginia) region.
java.lang.String getDomainName()
Uppercase letters are not supported.
default java.lang.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.
default EndpointType getEndpointType()
Default: REGIONAL
default MTLSConfig getMtls()
Default: - mTLS is not configured.
default SecurityPolicy getSecurityPolicy()
Default: SecurityPolicy.TLS_1_0
static DomainNameOptions.Builder builder()
DomainNameOptions.Builder
of DomainNameOptions