AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::ElasticLoadBalancingV2::TargetGroup Matcher

Specifies the HTTP codes that healthy targets must use when responding to an HTTP health check.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "HttpCode" : String }

YAML

HttpCode: String

Properties

HttpCode

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.

Required: Yes

Type: String

Update requires: No interruption

On this page: