VirtualRouterAttributes

class aws_cdk.aws_appmesh.VirtualRouterAttributes(*, mesh, virtual_router_name)

Bases: object

Interface with properties ncecessary to import a reusable VirtualRouter.

Parameters
  • mesh (IMesh) – The Mesh which the VirtualRouter belongs to.

  • virtual_router_name (str) – The name of the VirtualRouter.

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

# mesh: appmesh.Mesh

virtual_router_attributes = appmesh.VirtualRouterAttributes(
    mesh=mesh,
    virtual_router_name="virtualRouterName"
)

Attributes

mesh

The Mesh which the VirtualRouter belongs to.

Return type

IMesh

virtual_router_name

The name of the VirtualRouter.

Return type

str