Class Http2VirtualNodeListenerOptions
Represent the HTTP2 Node Listener property.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Http2VirtualNodeListenerOptions : IHttp2VirtualNodeListenerOptions
Syntax (vb)
Public Class Http2VirtualNodeListenerOptions Implements IHttp2VirtualNodeListenerOptions
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;
using Amazon.CDK.AWS.AppMesh;
HealthCheck healthCheck;
MutualTlsValidationTrust mutualTlsValidationTrust;
SubjectAlternativeNames subjectAlternativeNames;
TlsCertificate tlsCertificate;
var http2VirtualNodeListenerOptions = new Http2VirtualNodeListenerOptions {
ConnectionPool = new Http2ConnectionPool {
MaxRequests = 123
},
HealthCheck = healthCheck,
OutlierDetection = new OutlierDetection {
BaseEjectionDuration = Duration.Minutes(30),
Interval = Duration.Minutes(30),
MaxEjectionPercent = 123,
MaxServerErrors = 123
},
Port = 123,
Timeout = new HttpTimeout {
Idle = Duration.Minutes(30),
PerRequest = Duration.Minutes(30)
},
Tls = new ListenerTlsOptions {
Certificate = tlsCertificate,
Mode = TlsMode.STRICT,
// the properties below are optional
MutualTlsValidation = new MutualTlsValidation {
Trust = mutualTlsValidationTrust,
// the properties below are optional
SubjectAlternativeNames = subjectAlternativeNames
}
}
};
Synopsis
Constructors
Http2VirtualNodeListenerOptions() | Represent the HTTP2 Node Listener property. |
Properties
ConnectionPool | Connection pool for http2 listeners. |
HealthCheck | The health check information for the listener. |
OutlierDetection | Represents the configuration for enabling outlier detection. |
Port | Port to listen for connections on. |
Timeout | Timeout for HTTP protocol. |
Tls | Represents the configuration for enabling TLS on a listener. |
Constructors
Http2VirtualNodeListenerOptions()
Represent the HTTP2 Node Listener property.
public Http2VirtualNodeListenerOptions()
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;
using Amazon.CDK.AWS.AppMesh;
HealthCheck healthCheck;
MutualTlsValidationTrust mutualTlsValidationTrust;
SubjectAlternativeNames subjectAlternativeNames;
TlsCertificate tlsCertificate;
var http2VirtualNodeListenerOptions = new Http2VirtualNodeListenerOptions {
ConnectionPool = new Http2ConnectionPool {
MaxRequests = 123
},
HealthCheck = healthCheck,
OutlierDetection = new OutlierDetection {
BaseEjectionDuration = Duration.Minutes(30),
Interval = Duration.Minutes(30),
MaxEjectionPercent = 123,
MaxServerErrors = 123
},
Port = 123,
Timeout = new HttpTimeout {
Idle = Duration.Minutes(30),
PerRequest = Duration.Minutes(30)
},
Tls = new ListenerTlsOptions {
Certificate = tlsCertificate,
Mode = TlsMode.STRICT,
// the properties below are optional
MutualTlsValidation = new MutualTlsValidation {
Trust = mutualTlsValidationTrust,
// the properties below are optional
SubjectAlternativeNames = subjectAlternativeNames
}
}
};
Properties
ConnectionPool
Connection pool for http2 listeners.
public IHttp2ConnectionPool? ConnectionPool { get; set; }
Property Value
Remarks
Default: - None
HealthCheck
The health check information for the listener.
public HealthCheck? HealthCheck { get; set; }
Property Value
Remarks
Default: - no healthcheck
OutlierDetection
Represents the configuration for enabling outlier detection.
public IOutlierDetection? OutlierDetection { get; set; }
Property Value
Remarks
Default: - none
Port
Port to listen for connections on.
public double? Port { get; set; }
Property Value
Remarks
Default: - 8080
Timeout
Timeout for HTTP protocol.
public IHttpTimeout? Timeout { get; set; }
Property Value
Remarks
Default: - None
Tls
Represents the configuration for enabling TLS on a listener.
public IListenerTlsOptions? Tls { get; set; }
Property Value
Remarks
Default: - none