interface VirtualNodeProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.AppMesh.VirtualNodeProps | 
  Java | software.amazon.awscdk.services.appmesh.VirtualNodeProps | 
  Python | aws_cdk.aws_appmesh.VirtualNodeProps | 
  TypeScript (source) | @aws-cdk/aws-appmesh » VirtualNodeProps | 
The properties used when creating a new VirtualNode.
Example
// A Virtual Node with a gRPC listener with a connection pool set
declare const mesh: appmesh.Mesh;
const node = new appmesh.VirtualNode(this, 'node', {
  mesh,
  // DNS service discovery can optionally specify the DNS response type as either LOAD_BALANCER or ENDPOINTS.
  // LOAD_BALANCER means that the DNS resolver returns a loadbalanced set of endpoints,
  // whereas ENDPOINTS means that the DNS resolver is returning all the endpoints.
  // By default, the response type is assumed to be LOAD_BALANCER
  serviceDiscovery: appmesh.ServiceDiscovery.dns('node', appmesh.DnsResponseType.ENDPOINTS),
  listeners: [appmesh.VirtualNodeListener.http({
    port: 80,
    connectionPool: {
      maxConnections: 100,
      maxPendingRequests: 10,
    },
  })],
});
// A Virtual Gateway with a gRPC listener with a connection pool set
const gateway = new appmesh.VirtualGateway(this, 'gateway', {
  mesh,
  listeners: [appmesh.VirtualGatewayListener.grpc({
    port: 8080,
    connectionPool: {
      maxRequests: 10,
    },
  })],
  virtualGatewayName: 'gateway',
});
Properties
| Name | Type | Description | 
|---|---|---|
| mesh | IMesh | The Mesh which the VirtualNode belongs to. | 
| access | Access | Access Logging Configuration for the virtual node. | 
| backend | Backend | Default Configuration Virtual Node uses to communicate with Virtual Service. | 
| backends? | Backend[] | Virtual Services that this is node expected to send outbound traffic to. | 
| listeners? | Virtual[] | Initial listener for the virtual node. | 
| service | Service | Defines how upstream clients will discover this VirtualNode. | 
| virtual | string | The name of the VirtualNode. | 
mesh
Type:
IMesh
The Mesh which the VirtualNode belongs to.
accessLog?
Type:
Access
(optional, default: No access logging)
Access Logging Configuration for the virtual node.
backendDefaults?
Type:
Backend
(optional, default: No Config)
Default Configuration Virtual Node uses to communicate with Virtual Service.
backends?
Type:
Backend[]
(optional, default: No backends)
Virtual Services that this is node expected to send outbound traffic to.
listeners?
Type:
Virtual[]
(optional, default: No listeners)
Initial listener for the virtual node.
serviceDiscovery?
Type:
Service
(optional, default: No Service Discovery)
Defines how upstream clients will discover this VirtualNode.
virtualNodeName?
Type:
string
(optional, default: A name is automatically determined)
The name of the VirtualNode.

 .NET
 Java
 Python
 TypeScript (