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.

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

# virtual_router: appmesh.VirtualRouter

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

Attributes

route_name

The name of the Route.

virtual_router

The VirtualRouter the Route belongs to.