AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

  • Object
show all
Defined in:



When passing Matcher as input to an Aws::Client method, you can use a vanilla Hash:

  http_code: "HttpCode", # required

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


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–399.


  • (String)

    The HTTP codes.