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();
 
  • Method Details

    • getCertificate

      @Stability(Experimental) @NotNull ICertificate getCertificate()
      (experimental) The ACM certificate for this domain name.

      Certificate can be both ACM issued or imported.

    • getCertificateName

      @Stability(Experimental) @Nullable default String 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

      @Stability(Experimental) @Nullable default EndpointType getEndpointType()
      (experimental) The type of endpoint for this DomainName.

      Default: EndpointType.REGIONAL

    • getOwnershipCertificate

      @Stability(Experimental) @Nullable default ICertificate 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

      @Stability(Experimental) @Nullable default SecurityPolicy getSecurityPolicy()
      (experimental) The Transport Layer Security (TLS) version + cipher suite for this domain name.

      Default: SecurityPolicy.TLS_1_2

    • builder

      @Stability(Experimental) static EndpointOptions.Builder builder()
      Returns:
      a EndpointOptions.Builder of EndpointOptions