VirtualNodeAttributes

class aws_cdk.aws_appmesh.VirtualNodeAttributes(*, mesh, virtual_node_name)

Bases: object

Interface with properties necessary to import a reusable VirtualNode.

Parameters
  • mesh (IMesh) – The Mesh that the VirtualNode belongs to.

  • virtual_node_name (str) – The name of the VirtualNode.

Example:

virtual_node_name = "my-virtual-node"
appmesh.VirtualNode.from_virtual_node_attributes(self, "imported-virtual-node",
    mesh=appmesh.Mesh.from_mesh_name(self, "Mesh", "testMesh"),
    virtual_node_name=virtual_node_name
)

Attributes

mesh

The Mesh that the VirtualNode belongs to.

Return type

IMesh

virtual_node_name

The name of the VirtualNode.

Return type

str