Class: Aws::ElasticLoadBalancingV2::Types::HttpRequestMethodConditionConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Note:

When making an API call, you may pass HttpRequestMethodConditionConfig data as a 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.

[1]: www.iana.org/assignments/http-methods/http-methods.xhtml

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#valuesArray<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.

Returns:

  • (Array<String>)

2057
2058
2059
2060
2061
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2057

class HttpRequestMethodConditionConfig < Struct.new(
  :values)
  SENSITIVE = []
  include Aws::Structure
end