Show / Hide Table of Contents

Class VirtualGatewayListenerConfig

Properties for a VirtualGateway listener.

Inheritance
System.Object
VirtualGatewayListenerConfig
Implements
IVirtualGatewayListenerConfig
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class VirtualGatewayListenerConfig : Object, IVirtualGatewayListenerConfig
Syntax (vb)
Public Class VirtualGatewayListenerConfig
    Inherits Object
    Implements IVirtualGatewayListenerConfig
Remarks

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;

VirtualGatewayListenerConfig virtualGatewayListenerConfig = new VirtualGatewayListenerConfig {
    Listener = 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

Constructors

VirtualGatewayListenerConfig()

Properties

Listener

Single listener config for a VirtualGateway.

Constructors

VirtualGatewayListenerConfig()

public VirtualGatewayListenerConfig()

Properties

Listener

Single listener config for a VirtualGateway.

public CfnVirtualGateway.IVirtualGatewayListenerProperty Listener { get; set; }
Property Value

CfnVirtualGateway.IVirtualGatewayListenerProperty

Implements

IVirtualGatewayListenerConfig
Back to top Generated by DocFX