Interface Http2VirtualNodeListenerOptions

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:14.130Z") @Stability(Stable) public interface Http2VirtualNodeListenerOptions extends software.amazon.jsii.JsiiSerializable
Represent the HTTP2 Node Listener property.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.appmesh.*;
 HealthCheck healthCheck;
 MutualTlsValidationTrust mutualTlsValidationTrust;
 SubjectAlternativeNames subjectAlternativeNames;
 TlsCertificate tlsCertificate;
 Http2VirtualNodeListenerOptions http2VirtualNodeListenerOptions = Http2VirtualNodeListenerOptions.builder()
         .connectionPool(Http2ConnectionPool.builder()
                 .maxRequests(123)
                 .build())
         .healthCheck(healthCheck)
         .outlierDetection(OutlierDetection.builder()
                 .baseEjectionDuration(Duration.minutes(30))
                 .interval(Duration.minutes(30))
                 .maxEjectionPercent(123)
                 .maxServerErrors(123)
                 .build())
         .port(123)
         .timeout(HttpTimeout.builder()
                 .idle(Duration.minutes(30))
                 .perRequest(Duration.minutes(30))
                 .build())
         .tls(ListenerTlsOptions.builder()
                 .certificate(tlsCertificate)
                 .mode(TlsMode.STRICT)
                 // the properties below are optional
                 .mutualTlsValidation(MutualTlsValidation.builder()
                         .trust(mutualTlsValidationTrust)
                         // the properties below are optional
                         .subjectAlternativeNames(subjectAlternativeNames)
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getConnectionPool

      @Stability(Stable) @Nullable default Http2ConnectionPool getConnectionPool()
      Connection pool for http2 listeners.

      Default: - None

    • getHealthCheck

      @Stability(Stable) @Nullable default HealthCheck getHealthCheck()
      The health check information for the listener.

      Default: - no healthcheck

    • getOutlierDetection

      @Stability(Stable) @Nullable default OutlierDetection getOutlierDetection()
      Represents the configuration for enabling outlier detection.

      Default: - none

    • getPort

      @Stability(Stable) @Nullable default Number getPort()
      Port to listen for connections on.

      Default: - 8080

    • getTimeout

      @Stability(Stable) @Nullable default HttpTimeout getTimeout()
      Timeout for HTTP protocol.

      Default: - None

    • getTls

      @Stability(Stable) @Nullable default ListenerTlsOptions getTls()
      Represents the configuration for enabling TLS on a listener.

      Default: - none

    • builder

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