Class: Aws::AppMesh::Types::GatewayRouteSpec

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass GatewayRouteSpec data as a hash:

{
  grpc_route: {
    action: { # required
      target: { # required
        virtual_service: { # required
          virtual_service_name: "ResourceName", # required
        },
      },
    },
    match: { # required
      service_name: "ServiceName",
    },
  },
  http2_route: {
    action: { # required
      target: { # required
        virtual_service: { # required
          virtual_service_name: "ResourceName", # required
        },
      },
    },
    match: { # required
      prefix: "String", # required
    },
  },
  http_route: {
    action: { # required
      target: { # required
        virtual_service: { # required
          virtual_service_name: "ResourceName", # required
        },
      },
    },
    match: { # required
      prefix: "String", # required
    },
  },
}

An object that represents a gateway route specification. Specify one gateway route type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#grpc_routeTypes::GrpcGatewayRoute

An object that represents the specification of a gRPC gateway route.



2648
2649
2650
2651
2652
2653
2654
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2648

class GatewayRouteSpec < Struct.new(
  :grpc_route,
  :http2_route,
  :http_route)
  SENSITIVE = []
  include Aws::Structure
end

#http2_routeTypes::HttpGatewayRoute

An object that represents the specification of an HTTP/2 gateway route.



2648
2649
2650
2651
2652
2653
2654
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2648

class GatewayRouteSpec < Struct.new(
  :grpc_route,
  :http2_route,
  :http_route)
  SENSITIVE = []
  include Aws::Structure
end

#http_routeTypes::HttpGatewayRoute

An object that represents the specification of an HTTP gateway route.



2648
2649
2650
2651
2652
2653
2654
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2648

class GatewayRouteSpec < Struct.new(
  :grpc_route,
  :http2_route,
  :http_route)
  SENSITIVE = []
  include Aws::Structure
end