Show / Hide Table of Contents

Interface CfnVirtualGateway.IVirtualGatewayListenerProperty

An object that represents a listener for a virtual gateway.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.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 virtualGatewayListenerProperty = new VirtualGatewayListenerProperty {
                 PortMapping = new VirtualGatewayPortMappingProperty {
                     Port = 123,
                     Protocol = "protocol"
                 },

                 // the properties below are optional
                 ConnectionPool = new VirtualGatewayConnectionPoolProperty {
                     Grpc = new VirtualGatewayGrpcConnectionPoolProperty {
                         MaxRequests = 123
                     },
                     Http = new VirtualGatewayHttpConnectionPoolProperty {
                         MaxConnections = 123,

                         // the properties below are optional
                         MaxPendingRequests = 123
                     },
                     Http2 = new VirtualGatewayHttp2ConnectionPoolProperty {
                         MaxRequests = 123
                     }
                 },
                 HealthCheck = new VirtualGatewayHealthCheckPolicyProperty {
                     HealthyThreshold = 123,
                     IntervalMillis = 123,
                     Protocol = "protocol",
                     TimeoutMillis = 123,
                     UnhealthyThreshold = 123,

                     // the properties below are optional
                     Path = "path",
                     Port = 123
                 },
                 Tls = new VirtualGatewayListenerTlsProperty {
                     Certificate = new VirtualGatewayListenerTlsCertificateProperty {
                         Acm = new VirtualGatewayListenerTlsAcmCertificateProperty {
                             CertificateArn = "certificateArn"
                         },
                         File = new VirtualGatewayListenerTlsFileCertificateProperty {
                             CertificateChain = "certificateChain",
                             PrivateKey = "privateKey"
                         },
                         Sds = new VirtualGatewayListenerTlsSdsCertificateProperty {
                             SecretName = "secretName"
                         }
                     },
                     Mode = "mode",

                     // the properties below are optional
                     Validation = new VirtualGatewayListenerTlsValidationContextProperty {
                         Trust = new VirtualGatewayListenerTlsValidationContextTrustProperty {
                             File = new VirtualGatewayTlsValidationContextFileTrustProperty {
                                 CertificateChain = "certificateChain"
                             },
                             Sds = new VirtualGatewayTlsValidationContextSdsTrustProperty {
                                 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.

PortMapping

The port mapping information for the listener.

Tls

A reference to an object that represents the Transport Layer Security (TLS) properties for the 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-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-connectionpool

Type union: either IResolvable or CfnVirtualGateway.IVirtualGatewayConnectionPoolProperty

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-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-healthcheck

Type union: either IResolvable or CfnVirtualGateway.IVirtualGatewayHealthCheckPolicyProperty

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-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-portmapping

Type union: either IResolvable or CfnVirtualGateway.IVirtualGatewayPortMappingProperty

Tls

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

object? Tls { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualGateway.IVirtualGatewayListenerTlsProperty

Back to top Generated by DocFX