GatewayRouteAttributes

class aws_cdk.aws_appmesh.GatewayRouteAttributes(*, gateway_route_name, virtual_gateway)

Bases: object

Interface with properties necessary to import a reusable GatewayRoute.

Parameters
  • gateway_route_name (str) – The name of the GatewayRoute.

  • virtual_gateway (IVirtualGateway) – The VirtualGateway this GatewayRoute is associated with.

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_gateway is of type VirtualGateway

gateway_route_attributes = appmesh.GatewayRouteAttributes(
    gateway_route_name="gatewayRouteName",
    virtual_gateway=virtual_gateway
)

Attributes

gateway_route_name

The name of the GatewayRoute.

Return type

str

virtual_gateway

The VirtualGateway this GatewayRoute is associated with.

Return type

IVirtualGateway