GatewayRouteProps

class aws_cdk.aws_appmesh.GatewayRouteProps(*, gateway_route_name=None, route_spec, virtual_gateway)

Bases: aws_cdk.aws_appmesh.GatewayRouteBaseProps

Properties to define a new GatewayRoute.

Parameters
  • gateway_route_name (Optional[str]) – The name of the GatewayRoute. Default: - an automatically generated name

  • route_spec (GatewayRouteSpec) – What protocol the route uses.

  • 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

# gateway_route_spec is of type GatewayRouteSpec
# virtual_gateway is of type VirtualGateway

gateway_route_props = appmesh.GatewayRouteProps(
    route_spec=gateway_route_spec,
    virtual_gateway=virtual_gateway,

    # the properties below are optional
    gateway_route_name="gatewayRouteName"
)

Attributes

gateway_route_name

The name of the GatewayRoute.

Default
  • an automatically generated name

Return type

Optional[str]

route_spec

What protocol the route uses.

Return type

GatewayRouteSpec

virtual_gateway

The VirtualGateway this GatewayRoute is associated with.

Return type

IVirtualGateway