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.


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


{ "HttpCode" : String }


HttpCode: String



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: