Class: Aws::AppMesh::Types::HeaderMatchMethod
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HeaderMatchMethod
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
When making an API call, you may pass HeaderMatchMethod data as a hash:
{
exact: "HeaderMatch",
prefix: "HeaderMatch",
range: {
end: 1, # required
start: 1, # required
},
regex: "HeaderMatch",
suffix: "HeaderMatch",
}
An object representing the method and value to match the header value sent with a request. Specify one match method.
Instance Attribute Summary collapse
-
#exact ⇒ String
The header value sent by the client must match the specified value exactly.
-
#prefix ⇒ String
The header value sent by the client must begin with the specified characters.
-
#range ⇒ Types::MatchRange
The object that specifies the range of numbers that the header value sent by the client must be included in.
-
#regex ⇒ String
The header value sent by the client must include the specified characters.
-
#suffix ⇒ String
The header value sent by the client must end with the specified characters.
Instance Attribute Details
#exact ⇒ String
The header value sent by the client must match the specified value exactly.
2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2421 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#prefix ⇒ String
The header value sent by the client must begin with the specified characters.
2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2421 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#range ⇒ Types::MatchRange
The object that specifies the range of numbers that the header value sent by the client must be included in.
2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2421 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#regex ⇒ String
The header value sent by the client must include the specified characters.
2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2421 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#suffix ⇒ String
The header value sent by the client must end with the specified characters.
2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2421 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |