aws-cdk-lib.aws_appmesh.VirtualNodeAttributes

interface VirtualNodeAttributes

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

Interface with properties necessary to import a reusable VirtualNode.

Example

const virtualNodeName = 'my-virtual-node';
appmesh.VirtualNode.fromVirtualNodeAttributes(this, 'imported-virtual-node', {
  mesh: appmesh.Mesh.fromMeshName(this, 'Mesh', 'testMesh'),
  virtualNodeName: virtualNodeName,
});

Properties

NameTypeDescription
meshIMeshThe Mesh that the VirtualNode belongs to.
virtualNodeNamestringThe name of the VirtualNode.

mesh

Type: IMesh

The Mesh that the VirtualNode belongs to.


virtualNodeName

Type: string

The name of the VirtualNode.