TargetGroupConfig - Amazon VPC Lattice

TargetGroupConfig

Describes the configuration of a target group.

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

Contents

healthCheck

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

Type: HealthCheckConfig object

Required: No

ipAddressType

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

Type: String

Valid Values: IPV4 | IPV6

Required: No

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.

Type: String

Valid Values: V1 | V2

Required: No

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.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 65535.

Required: No

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.

Type: String

Valid Values: HTTP | HTTPS | TCP

Required: No

protocolVersion

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

Type: String

Valid Values: HTTP1 | HTTP2 | GRPC

Required: No

vpcIdentifier

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

Type: String

Length Constraints: Minimum length of 5. Maximum length of 50.

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

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: