Class: Aws::AppMesh::Types::HttpGatewayRoute
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HttpGatewayRoute
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass HttpGatewayRoute data as a hash:
{
action: { # required
rewrite: {
hostname: {
default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED
},
path: {
exact: "HttpPathExact",
},
prefix: {
default_prefix: "ENABLED", # accepts ENABLED, DISABLED
value: "HttpGatewayRoutePrefix",
},
},
target: { # required
virtual_service: { # required
virtual_service_name: "ResourceName", # required
},
},
},
match: { # required
headers: [
{
invert: false,
match: {
exact: "HeaderMatch",
prefix: "HeaderMatch",
range: {
end: 1, # required
start: 1, # required
},
regex: "HeaderMatch",
suffix: "HeaderMatch",
},
name: "HeaderName", # required
},
],
hostname: {
exact: "ExactHostName",
suffix: "SuffixHostname",
},
method: "GET", # accepts GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
path: {
exact: "HttpPathExact",
regex: "HttpPathRegex",
},
prefix: "String",
query_parameters: [
{
match: {
exact: "String",
},
name: "QueryParameterName", # required
},
],
},
}
An object that represents an HTTP gateway route.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ Types::HttpGatewayRouteAction
An object that represents the action to take if a match is determined.
-
#match ⇒ Types::HttpGatewayRouteMatch
An object that represents the criteria for determining a request match.
Instance Attribute Details
#action ⇒ Types::HttpGatewayRouteAction
An object that represents the action to take if a match is determined.
3834 3835 3836 3837 3838 3839 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3834 class HttpGatewayRoute < Struct.new( :action, :match) SENSITIVE = [] include Aws::Structure end |
#match ⇒ Types::HttpGatewayRouteMatch
An object that represents the criteria for determining a request match.
3834 3835 3836 3837 3838 3839 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3834 class HttpGatewayRoute < Struct.new( :action, :match) SENSITIVE = [] include Aws::Structure end |