You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticLoadBalancingV2::Types::HttpRequestMethodConditionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::HttpRequestMethodConditionConfig
- Defined in:
- (unknown)
Overview
When passing HttpRequestMethodConditionConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
values: ["StringValue"],
}
Information about an HTTP method condition.
HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the HTTP Method Registry. You can also define custom HTTP methods.
Returned by:
Instance Attribute Summary collapse
-
#values ⇒ Array<String>
The name of the request method.
Instance Attribute Details
#values ⇒ Array<String>
The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.