Interface CfnVirtualNode.ListenerProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.ListenerProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.ListenerProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a listener for a virtual node.
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.appmesh.*; ListenerProperty listenerProperty = ListenerProperty.builder() .portMapping(PortMappingProperty.builder() .port(123) .protocol("protocol") .build()) // the properties below are optional .connectionPool(VirtualNodeConnectionPoolProperty.builder() .grpc(VirtualNodeGrpcConnectionPoolProperty.builder() .maxRequests(123) .build()) .http(VirtualNodeHttpConnectionPoolProperty.builder() .maxConnections(123) // the properties below are optional .maxPendingRequests(123) .build()) .http2(VirtualNodeHttp2ConnectionPoolProperty.builder() .maxRequests(123) .build()) .tcp(VirtualNodeTcpConnectionPoolProperty.builder() .maxConnections(123) .build()) .build()) .healthCheck(HealthCheckProperty.builder() .healthyThreshold(123) .intervalMillis(123) .protocol("protocol") .timeoutMillis(123) .unhealthyThreshold(123) // the properties below are optional .path("path") .port(123) .build()) .outlierDetection(OutlierDetectionProperty.builder() .baseEjectionDuration(DurationProperty.builder() .unit("unit") .value(123) .build()) .interval(DurationProperty.builder() .unit("unit") .value(123) .build()) .maxEjectionPercent(123) .maxServerErrors(123) .build()) .timeout(ListenerTimeoutProperty.builder() .grpc(GrpcTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .perRequest(DurationProperty.builder() .unit("unit") .value(123) .build()) .build()) .http(HttpTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .perRequest(DurationProperty.builder() .unit("unit") .value(123) .build()) .build()) .http2(HttpTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .perRequest(DurationProperty.builder() .unit("unit") .value(123) .build()) .build()) .tcp(TcpTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .build()) .build()) .tls(ListenerTlsProperty.builder() .certificate(ListenerTlsCertificateProperty.builder() .acm(ListenerTlsAcmCertificateProperty.builder() .certificateArn("certificateArn") .build()) .file(ListenerTlsFileCertificateProperty.builder() .certificateChain("certificateChain") .privateKey("privateKey") .build()) .sds(ListenerTlsSdsCertificateProperty.builder() .secretName("secretName") .build()) .build()) .mode("mode") // the properties below are optional .validation(ListenerTlsValidationContextProperty.builder() .trust(ListenerTlsValidationContextTrustProperty.builder() .file(TlsValidationContextFileTrustProperty.builder() .certificateChain("certificateChain") .build()) .sds(TlsValidationContextSdsTrustProperty.builder() .secretName("secretName") .build()) .build()) // the properties below are optional .subjectAlternativeNames(SubjectAlternativeNamesProperty.builder() .match(SubjectAlternativeNameMatchersProperty.builder() .exact(List.of("exact")) .build()) .build()) .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualNode.ListenerProperty
static final class
An implementation forCfnVirtualNode.ListenerProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The connection pool information for the listener.default Object
The health check information for the listener.default Object
The outlier detection information for the listener.The port mapping information for the listener.default Object
An object that represents timeouts for different protocols.default Object
getTls()
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPortMapping
The port mapping information for the listener. -
getConnectionPool
The connection pool information for the listener. -
getHealthCheck
The health check information for the listener. -
getOutlierDetection
The outlier detection information for the listener. -
getTimeout
An object that represents timeouts for different protocols. -
getTls
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener. -
builder
-