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.113.0 (build fc68b25)",
date="2025-10-14T12:28:04.112Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDomainNameOptionsstatic final classAn implementation forDomainNameOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainNameOptions.Builderbuilder()default StringThe 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 EndpointTypeThe type of endpoint for this DomainName.default MTLSConfiggetMtls()The mutual TLS authentication configuration for a custom domain name.default SecurityPolicyThe 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.BuilderofDomainNameOptions
-