AWS CloudFormation
User Guide (Version )

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: