Interface Http2VirtualNodeListenerOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Http2VirtualNodeListenerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:07.118Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttp2VirtualNodeListenerOptionsstatic final classAn implementation forHttp2VirtualNodeListenerOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Http2ConnectionPoolConnection pool for http2 listeners.default HealthCheckThe health check information for the listener.default OutlierDetectionRepresents the configuration for enabling outlier detection.default NumbergetPort()Port to listen for connections on.default HttpTimeoutTimeout for HTTP protocol.default ListenerTlsOptionsgetTls()Represents the configuration for enabling TLS on a listener.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectionPool
Connection pool for http2 listeners.Default: - None
-
getHealthCheck
The health check information for the listener.Default: - no healthcheck
-
getOutlierDetection
Represents the configuration for enabling outlier detection.Default: - none
-
getPort
Port to listen for connections on.Default: - 8080
-
getTimeout
Timeout for HTTP protocol.Default: - None
-
getTls
Represents the configuration for enabling TLS on a listener.Default: - none
-
builder
-