aws-cdk-lib.aws_appmesh.Http2VirtualNodeListenerOptions

interface Http2VirtualNodeListenerOptions

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.Http2VirtualNodeListenerOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#Http2VirtualNodeListenerOptions
Javasoftware.amazon.awscdk.services.appmesh.Http2VirtualNodeListenerOptions
Pythonaws_cdk.aws_appmesh.Http2VirtualNodeListenerOptions
TypeScript (source)aws-cdk-lib » aws_appmesh » Http2VirtualNodeListenerOptions

Represent the HTTP2 Node Listener property.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_appmesh as appmesh } from 'aws-cdk-lib';

declare const healthCheck: appmesh.HealthCheck;
declare const mutualTlsValidationTrust: appmesh.MutualTlsValidationTrust;
declare const subjectAlternativeNames: appmesh.SubjectAlternativeNames;
declare const tlsCertificate: appmesh.TlsCertificate;
const http2VirtualNodeListenerOptions: appmesh.Http2VirtualNodeListenerOptions = {
  connectionPool: {
    maxRequests: 123,
  },
  healthCheck: healthCheck,
  outlierDetection: {
    baseEjectionDuration: cdk.Duration.minutes(30),
    interval: cdk.Duration.minutes(30),
    maxEjectionPercent: 123,
    maxServerErrors: 123,
  },
  port: 123,
  timeout: {
    idle: cdk.Duration.minutes(30),
    perRequest: cdk.Duration.minutes(30),
  },
  tls: {
    certificate: tlsCertificate,
    mode: appmesh.TlsMode.STRICT,

    // the properties below are optional
    mutualTlsValidation: {
      trust: mutualTlsValidationTrust,

      // the properties below are optional
      subjectAlternativeNames: subjectAlternativeNames,
    },
  },
};

Properties

NameTypeDescription
connectionPool?Http2ConnectionPoolConnection pool for http2 listeners.
healthCheck?HealthCheckThe health check information for the listener.
outlierDetection?OutlierDetectionRepresents the configuration for enabling outlier detection.
port?numberPort to listen for connections on.
timeout?HttpTimeoutTimeout for HTTP protocol.
tls?ListenerTlsOptionsRepresents the configuration for enabling TLS on a listener.

connectionPool?

Type: Http2ConnectionPool (optional, default: None)

Connection pool for http2 listeners.


healthCheck?

Type: HealthCheck (optional, default: no healthcheck)

The health check information for the listener.


outlierDetection?

Type: OutlierDetection (optional, default: none)

Represents the configuration for enabling outlier detection.


port?

Type: number (optional, default: 8080)

Port to listen for connections on.


timeout?

Type: HttpTimeout (optional, default: None)

Timeout for HTTP protocol.


tls?

Type: ListenerTlsOptions (optional, default: none)

Represents the configuration for enabling TLS on a listener.