Interface EndpointOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DomainNameProps
- All Known Implementing Classes:
DomainNameProps.Jsii$Proxy
,EndpointOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.244Z")
@Stability(Experimental)
public interface EndpointOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) properties for creating a domain name endpoint.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigatewayv2.*; import software.amazon.awscdk.services.certificatemanager.*; Certificate certificate; EndpointOptions endpointOptions = EndpointOptions.builder() .certificate(certificate) // the properties below are optional .certificateName("certificateName") .endpointType(EndpointType.EDGE) .ownershipCertificate(certificate) .securityPolicy(SecurityPolicy.TLS_1_0) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEndpointOptions
static final class
An implementation forEndpointOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointOptions.Builder
builder()
(experimental) The ACM certificate for this domain name.default String
(experimental) The user-friendly name of the certificate that will be used by the endpoint for this domain name.default EndpointType
(experimental) The type of endpoint for this DomainName.default ICertificate
(experimental) A public certificate issued by ACM to validate that you own a custom domain.default SecurityPolicy
(experimental) 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
(experimental) The ACM certificate for this domain name.Certificate can be both ACM issued or imported.
-
getCertificateName
(experimental) The user-friendly name of the certificate that will be used by the endpoint for this domain name.Default: - No friendly certificate name
-
getEndpointType
(experimental) The type of endpoint for this DomainName.Default: EndpointType.REGIONAL
-
getOwnershipCertificate
(experimental) A public certificate issued by ACM to validate that you own a custom domain.This parameter is required only when you configure mutual TLS authentication and you specify an ACM imported or private CA certificate for
certificate
. The ownership certificate validates that you have permissions to use the domain name.Default: - only required when configuring mTLS
-
getSecurityPolicy
(experimental) The Transport Layer Security (TLS) version + cipher suite for this domain name.Default: SecurityPolicy.TLS_1_2
-
builder
- Returns:
- a
EndpointOptions.Builder
ofEndpointOptions
-