RouteAttributes

class aws_cdk.aws_appmesh.RouteAttributes(*, route_name, virtual_router)

Bases: object

Interface with properties ncecessary to import a reusable Route.

Parameters
  • route_name (str) – The name of the Route.

  • virtual_router (IVirtualRouter) – The VirtualRouter the Route belongs to.

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

# virtual_router is of type VirtualRouter

route_attributes = appmesh.RouteAttributes(
    route_name="routeName",
    virtual_router=virtual_router
)

Attributes

route_name

The name of the Route.

Return type

str

virtual_router

The VirtualRouter the Route belongs to.

Return type

IVirtualRouter