You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppMesh::Types::HeaderMatchMethod
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::HeaderMatchMethod
- Defined in:
- (unknown)
Overview
When passing HeaderMatchMethod as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
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.
#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.