Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::VpcLattice::TargetGroup TargetGroupConfig

Focus mode

On this page

AWS::VpcLattice::TargetGroup TargetGroupConfig - AWS CloudFormation
Filter View

Describes the configuration of a target group.

For more information, see Target groups in the Amazon VPC Lattice User Guide.

Syntax

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

JSON

{ "HealthCheck" : HealthCheckConfig, "IpAddressType" : String, "LambdaEventStructureVersion" : String, "Port" : Integer, "Protocol" : String, "ProtocolVersion" : String, "VpcIdentifier" : String }

Properties

HealthCheck

The health check configuration. Not supported if the target group type is LAMBDA or ALB.

Required: No

Type: HealthCheckConfig

Update requires: No interruption

IpAddressType

The type of IP address used for the target group. Supported only if the target group type is IP. The default is IPV4.

Required: No

Type: String

Allowed values: IPV4 | IPV6

Update requires: Replacement

LambdaEventStructureVersion

The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.

Required: No

Type: String

Allowed values: V1 | V2

Update requires: Replacement

Port

The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is LAMBDA.

Required: No

Type: Integer

Minimum: 1

Maximum: 65535

Update requires: Replacement

Protocol

The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is LAMBDA.

Required: No

Type: String

Allowed values: HTTP | HTTPS | TCP

Update requires: Replacement

ProtocolVersion

The protocol version. The default is HTTP1. Not supported if the target group type is LAMBDA.

Required: No

Type: String

Allowed values: HTTP1 | HTTP2 | GRPC

Update requires: Replacement

VpcIdentifier

The ID of the VPC. Not supported if the target group type is LAMBDA.

Required: No

Type: String

Pattern: ^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$

Minimum: 5

Maximum: 2048

Update requires: Replacement

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.