AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

VirtualNode

VirtualNode represents a newly defined AppMesh VirtualNode. Any inbound traffic that your virtual node expects should be specified as a listener. Any outbound traffic that your virtual node expects to reach should be specified as a backend. [disable-awslint:no-grants]

Import

import { VirtualNode } from 'aws-cdk-lib/aws-appmesh';

Or use the module namespace:

import * as appmesh from 'aws-cdk-lib/aws-appmesh';
// appmesh.VirtualNode

Properties

Configuration passed to the constructor as VirtualNodeProps.

meshRequired
IMesh

The Mesh which the VirtualNode belongs to.

6 properties inherited from VirtualNodeBaseProps
accessLogOptionalinherited from VirtualNodeBaseProps
AccessLog

Access Logging Configuration for the virtual node.

Default: - No access logging

backendDefaultsOptionalinherited from VirtualNodeBaseProps
BackendDefaults

Default Configuration Virtual Node uses to communicate with Virtual Service.

Default: - No Config

backendsOptionalinherited from VirtualNodeBaseProps
Backend[]

Virtual Services that this is node expected to send outbound traffic to.

Default: - No backends

listenersOptionalinherited from VirtualNodeBaseProps
VirtualNodeListener[]

Initial listener for the virtual node.

Default: - No listeners

serviceDiscoveryOptionalinherited from VirtualNodeBaseProps
ServiceDiscovery

Defines how upstream clients will discover this VirtualNode.

Default: - No Service Discovery

virtualNodeNameOptionalinherited from VirtualNodeBaseProps
string

The name of the VirtualNode.

Default: - A name is automatically determined

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter