Interface DomainNameOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DomainNameProps
- All Known Implementing Classes:
DomainNameOptions.Jsii$Proxy
,DomainNameProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-07T10:36:01.298Z")
@Stability(Stable)
public interface DomainNameOptions
extends software.amazon.jsii.JsiiSerializable
Example:
Object acmCertificateForExampleCom; RestApi api = RestApi.Builder.create(this, "MyDomain") .domainName(DomainNameOptions.builder() .domainName("example.com") .certificate(acmCertificateForExampleCom) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDomainNameOptions
static final class
An implementation forDomainNameOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainNameOptions.Builder
builder()
default String
The base path name that callers of the API must provide in the URL after the domain name (e.g.The reference to an AWS-managed certificate for use by the edge-optimized endpoint for the domain name.The custom domain name for your API.default EndpointType
The type of endpoint for this DomainName.default MTLSConfig
getMtls()
The mutual TLS authentication configuration for a custom domain name.default SecurityPolicy
The Transport Layer Security (TLS) version + cipher suite for this domain name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificate
The reference to an AWS-managed certificate for use by the edge-optimized endpoint for the domain name.For "EDGE" domain names, the certificate needs to be in the US East (N. Virginia) region.
-
getDomainName
The custom domain name for your API.Uppercase letters are not supported.
-
getBasePath
The base path name that callers of the API must provide in the URL after the domain name (e.g.example.com/base-path
). If you specify this property, it can't be an empty string.Default: - map requests from the domain root (e.g. `example.com`).
-
getEndpointType
The type of endpoint for this DomainName.Default: REGIONAL
-
getMtls
The mutual TLS authentication configuration for a custom domain name.Default: - mTLS is not configured.
-
getSecurityPolicy
The Transport Layer Security (TLS) version + cipher suite for this domain name.Default: SecurityPolicy.TLS_1_2
- See Also:
-
builder
- Returns:
- a
DomainNameOptions.Builder
ofDomainNameOptions
-