Class: Aws::AppMesh::Types::GrpcGatewayRoute
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcGatewayRoute
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass GrpcGatewayRoute data as a hash:
{
action: { # required
rewrite: {
hostname: {
default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED
},
},
target: { # required
virtual_service: { # required
virtual_service_name: "ResourceName", # required
},
},
},
match: { # required
hostname: {
exact: "ExactHostName",
suffix: "SuffixHostname",
},
metadata: [
{
invert: false,
match: {
exact: "HeaderMatch",
prefix: "HeaderMatch",
range: {
end: 1, # required
start: 1, # required
},
regex: "HeaderMatch",
suffix: "HeaderMatch",
},
name: "HeaderName", # required
},
],
service_name: "ServiceName",
},
}
An object that represents a gRPC gateway route.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ Types::GrpcGatewayRouteAction
An object that represents the action to take if a match is determined.
-
#match ⇒ Types::GrpcGatewayRouteMatch
An object that represents the criteria for determining a request match.
Instance Attribute Details
#action ⇒ Types::GrpcGatewayRouteAction
An object that represents the action to take if a match is determined.
3063 3064 3065 3066 3067 3068 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3063 class GrpcGatewayRoute < Struct.new( :action, :match) SENSITIVE = [] include Aws::Structure end |
#match ⇒ Types::GrpcGatewayRouteMatch
An object that represents the criteria for determining a request match.
3063 3064 3065 3066 3067 3068 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3063 class GrpcGatewayRoute < Struct.new( :action, :match) SENSITIVE = [] include Aws::Structure end |