Interface CustomEndpointOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CustomEndpointOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.580Z") @Stability(Stable) public interface CustomEndpointOptions extends software.amazon.jsii.JsiiSerializable
Configures a custom domain endpoint for the Amazon OpenSearch Service domain.

Example:

 Domain.Builder.create(this, "Domain")
         .version(EngineVersion.OPENSEARCH_1_0)
         .customEndpoint(CustomEndpointOptions.builder()
                 .domainName("search.example.com")
                 .build())
         .build();
 
  • Method Details

    • getDomainName

      @Stability(Stable) @NotNull String getDomainName()
      The custom domain name to assign.
    • getCertificate

      @Stability(Stable) @Nullable default ICertificate getCertificate()
      The certificate to use.

      Default: - create a new one

    • getHostedZone

      @Stability(Stable) @Nullable default IHostedZone getHostedZone()
      The hosted zone in Route53 to create the CNAME record in.

      Default: - do not create a CNAME

    • builder

      @Stability(Stable) static CustomEndpointOptions.Builder builder()
      Returns:
      a CustomEndpointOptions.Builder of CustomEndpointOptions