Show / Hide Table of Contents

Class CfnVirtualNodePropsMixin.ListenerProperty

An object that represents a listener for a virtual node.

Inheritance
object
CfnVirtualNodePropsMixin.ListenerProperty
Implements
CfnVirtualNodePropsMixin.IListenerProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnVirtualNodePropsMixin.ListenerProperty : CfnVirtualNodePropsMixin.IListenerProperty
Syntax (vb)
Public Class CfnVirtualNodePropsMixin.ListenerProperty Implements CfnVirtualNodePropsMixin.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.Mixins.Preview.AWS.AppMesh.Mixins;

             var listenerProperty = new ListenerProperty {
                 ConnectionPool = new VirtualNodeConnectionPoolProperty {
                     Grpc = new VirtualNodeGrpcConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Http = new VirtualNodeHttpConnectionPoolProperty {
                         MaxConnections = 123,
                         MaxPendingRequests = 123
                     },
                     Http2 = new VirtualNodeHttp2ConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Tcp = new VirtualNodeTcpConnectionPoolProperty {
                         MaxConnections = 123
                     }
                 },
                 HealthCheck = new HealthCheckProperty {
                     HealthyThreshold = 123,
                     IntervalMillis = 123,
                     Path = "path",
                     Port = 123,
                     Protocol = "protocol",
                     TimeoutMillis = 123,
                     UnhealthyThreshold = 123
                 },
                 OutlierDetection = new OutlierDetectionProperty {
                     BaseEjectionDuration = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     Interval = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     MaxEjectionPercent = 123,
                     MaxServerErrors = 123
                 },
                 PortMapping = new PortMappingProperty {
                     Port = 123,
                     Protocol = "protocol"
                 },
                 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",
                     Validation = new ListenerTlsValidationContextProperty {
                         SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                             Match = new SubjectAlternativeNameMatchersProperty {
                                 Exact = new [] { "exact" }
                             }
                         },
                         Trust = new ListenerTlsValidationContextTrustProperty {
                             File = new TlsValidationContextFileTrustProperty {
                                 CertificateChain = "certificateChain"
                             },
                             Sds = new TlsValidationContextSdsTrustProperty {
                                 SecretName = "secretName"
                             }
                         }
                     }
                 }
             };

Synopsis

Constructors

ListenerProperty()

An object that represents a listener for a virtual node.

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.

Constructors

ListenerProperty()

An object that represents a listener for a virtual node.

public ListenerProperty()
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.Mixins.Preview.AWS.AppMesh.Mixins;

             var listenerProperty = new ListenerProperty {
                 ConnectionPool = new VirtualNodeConnectionPoolProperty {
                     Grpc = new VirtualNodeGrpcConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Http = new VirtualNodeHttpConnectionPoolProperty {
                         MaxConnections = 123,
                         MaxPendingRequests = 123
                     },
                     Http2 = new VirtualNodeHttp2ConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Tcp = new VirtualNodeTcpConnectionPoolProperty {
                         MaxConnections = 123
                     }
                 },
                 HealthCheck = new HealthCheckProperty {
                     HealthyThreshold = 123,
                     IntervalMillis = 123,
                     Path = "path",
                     Port = 123,
                     Protocol = "protocol",
                     TimeoutMillis = 123,
                     UnhealthyThreshold = 123
                 },
                 OutlierDetection = new OutlierDetectionProperty {
                     BaseEjectionDuration = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     Interval = new DurationProperty {
                         Unit = "unit",
                         Value = 123
                     },
                     MaxEjectionPercent = 123,
                     MaxServerErrors = 123
                 },
                 PortMapping = new PortMappingProperty {
                     Port = 123,
                     Protocol = "protocol"
                 },
                 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",
                     Validation = new ListenerTlsValidationContextProperty {
                         SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                             Match = new SubjectAlternativeNameMatchersProperty {
                                 Exact = new [] { "exact" }
                             }
                         },
                         Trust = new ListenerTlsValidationContextTrustProperty {
                             File = new TlsValidationContextFileTrustProperty {
                                 CertificateChain = "certificateChain"
                             },
                             Sds = new TlsValidationContextSdsTrustProperty {
                                 SecretName = "secretName"
                             }
                         }
                     }
                 }
             };

Properties

ConnectionPool

The connection pool information for the listener.

public object? ConnectionPool { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IVirtualNodeConnectionPoolProperty

HealthCheck

The health check information for the listener.

public object? HealthCheck { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IHealthCheckProperty

OutlierDetection

The outlier detection information for the listener.

public object? OutlierDetection { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IOutlierDetectionProperty

PortMapping

The port mapping information for the listener.

public object? PortMapping { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IPortMappingProperty

Timeout

An object that represents timeouts for different protocols.

public object? Timeout { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IListenerTimeoutProperty

Tls

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

public object? Tls { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualNodePropsMixin.IListenerTlsProperty

Implements

CfnVirtualNodePropsMixin.IListenerProperty
Back to top Generated by DocFX