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 that represents the method and value to match with the header value sent in a request. Specify one match method.
Instance Attribute Summary collapse
-
#exact ⇒ String
The value sent by the client must match the specified value exactly.
-
#prefix ⇒ String
The value sent by the client must begin with the specified characters.
-
#range ⇒ Types::MatchRange
An object that represents the range of values to match on.
-
#regex ⇒ String
The value sent by the client must include the specified characters.
-
#suffix ⇒ String
The value sent by the client must end with the specified characters.
Instance Attribute Details
#exact ⇒ String
The value sent by the client must match the specified value exactly.
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2694 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#prefix ⇒ String
The value sent by the client must begin with the specified characters.
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2694 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#range ⇒ Types::MatchRange
An object that represents the range of values to match on.
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2694 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#regex ⇒ String
The value sent by the client must include the specified characters.
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2694 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |
#suffix ⇒ String
The value sent by the client must end with the specified characters.
2694 2695 2696 2697 2698 2699 2700 2701 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2694 class HeaderMatchMethod < Struct.new( :exact, :prefix, :range, :regex, :suffix) include Aws::Structure end |