Show / Hide Table of Contents

Interface CfnVirtualNode.IListenerProperty

An object that represents a listener for a virtual node.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnVirtualNode.IListenerProperty
Syntax (vb)
Public Interface CfnVirtualNode.IListenerProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppMesh;

             var listenerProperty = new ListenerProperty {
                 PortMapping = new PortMappingProperty {
                     Port = 123,
                     Protocol = "protocol"
                 },

                 // the properties below are optional
                 ConnectionPool = new VirtualNodeConnectionPoolProperty {
                     Grpc = new VirtualNodeGrpcConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Http = new VirtualNodeHttpConnectionPoolProperty {
                         MaxConnections = 123,

                         // the properties below are optional
                         MaxPendingRequests = 123
                     },
                     Http2 = new VirtualNodeHttp2ConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Tcp = new VirtualNodeTcpConnectionPoolProperty {
                         MaxConnections = 123
                     }
                 },
                 HealthCheck = new HealthCheckProperty {
                     HealthyThreshold = 123,
                     IntervalMillis = 123,
                     Protocol = "protocol",
                     TimeoutMillis = 123,
                     UnhealthyThreshold = 123,

                     // the properties below are optional
                     Path = "path",
                     Port = 123
                 },
                 OutlierDetection = new OutlierDetectionProperty {
                     BaseEjectionDuration = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     Interval = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     MaxEjectionPercent = 123,
                     MaxServerErrors = 123
                 },
                 Timeout = new ListenerTimeoutProperty {
                     Grpc = new GrpcTimeoutProperty {
                         Idle = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         PerRequest = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         }
                     },
                     Http = new HttpTimeoutProperty {
                         Idle = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         PerRequest = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         }
                     },
                     Http2 = new HttpTimeoutProperty {
                         Idle = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         },
                         PerRequest = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         }
                     },
                     Tcp = new TcpTimeoutProperty {
                         Idle = new DurationProperty {
                             Unit = "unit",
                             Value = 123
                         }
                     }
                 },
                 Tls = new ListenerTlsProperty {
                     Certificate = new ListenerTlsCertificateProperty {
                         Acm = new ListenerTlsAcmCertificateProperty {
                             CertificateArn = "certificateArn"
                         },
                         File = new ListenerTlsFileCertificateProperty {
                             CertificateChain = "certificateChain",
                             PrivateKey = "privateKey"
                         },
                         Sds = new ListenerTlsSdsCertificateProperty {
                             SecretName = "secretName"
                         }
                     },
                     Mode = "mode",

                     // the properties below are optional
                     Validation = new ListenerTlsValidationContextProperty {
                         Trust = new ListenerTlsValidationContextTrustProperty {
                             File = new TlsValidationContextFileTrustProperty {
                                 CertificateChain = "certificateChain"
                             },
                             Sds = new TlsValidationContextSdsTrustProperty {
                                 SecretName = "secretName"
                             }
                         },

                         // the properties below are optional
                         SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                             Match = new SubjectAlternativeNameMatchersProperty {
                                 Exact = new [] { "exact" }
                             }
                         }
                     }
                 }
             };

Synopsis

Properties

ConnectionPool

The connection pool information for the listener.

HealthCheck

The health check information for the listener.

OutlierDetection

The outlier detection information for the listener.

PortMapping

The port mapping information for the listener.

Timeout

An object that represents timeouts for different protocols.

Tls

A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.

Properties

ConnectionPool

The connection pool information for the listener.

object? ConnectionPool { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-connectionpool

HealthCheck

The health check information for the listener.

object? HealthCheck { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-healthcheck

OutlierDetection

The outlier detection information for the listener.

object? OutlierDetection { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-outlierdetection

PortMapping

The port mapping information for the listener.

object PortMapping { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-portmapping

Timeout

An object that represents timeouts for different protocols.

object? Timeout { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-timeout

Tls

A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.

object? Tls { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-tls

Back to top Generated by DocFX