You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticLoadBalancingV2::Types::Matcher

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

Overview

Note:

When making an API call, you may pass Matcher data as a hash:

{
  http_code: "HttpCode", # required
}

Information to use when checking for a successful response from a target.

Instance Attribute Summary collapse

Instance Attribute Details

#http_codeString

The HTTP codes.

For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

For Network Load Balancers, this is 200 to 399.

Returns:

  • (String)


1480
1481
1482
1483
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1480

class Matcher < Struct.new(
  :http_code)
  include Aws::Structure
end