Interface TcpVirtualNodeListenerOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TcpVirtualNodeListenerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:03.381Z")
@Stability(Stable)
public interface TcpVirtualNodeListenerOptions
extends software.amazon.jsii.JsiiSerializable
Represent the TCP 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;
TcpVirtualNodeListenerOptions tcpVirtualNodeListenerOptions = TcpVirtualNodeListenerOptions.builder()
.connectionPool(TcpConnectionPool.builder()
.maxConnections(123)
.build())
.healthCheck(healthCheck)
.outlierDetection(OutlierDetection.builder()
.baseEjectionDuration(Duration.minutes(30))
.interval(Duration.minutes(30))
.maxEjectionPercent(123)
.maxServerErrors(123)
.build())
.port(123)
.timeout(TcpTimeout.builder()
.idle(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 forTcpVirtualNodeListenerOptionsstatic final classAn implementation forTcpVirtualNodeListenerOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default TcpConnectionPoolConnection pool for http 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 TcpTimeoutTimeout for TCP 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 http 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 TCP protocol.Default: - None
-
getTls
Represents the configuration for enabling TLS on a listener.Default: - none
-
builder
-