Skip to content

TargetGroupConfig

Source code in docs_src/capo_vpc_lattice/types/target_group_config.py
class TargetGroupConfig(TypedDict, closed=True):
    port: NotRequired["capo_vpc_lattice.types.port.Port"]
    """<p>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 <code>LAMBDA</code>.</p>"""
    protocol: NotRequired[
        "capo_vpc_lattice.types.target_group_protocol.TargetGroupProtocol"
    ]
    """<p>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 <code>LAMBDA</code>.</p>"""
    protocol_version: NotRequired[
        "capo_vpc_lattice.types.target_group_protocol_version.TargetGroupProtocolVersion"
    ]
    """<p>The protocol version. The default is <code>HTTP1</code>. Not supported if the target group type is <code>LAMBDA</code>.</p>"""
    ip_address_type: NotRequired["capo_vpc_lattice.types.ip_address_type.IpAddressType"]
    """<p>The type of IP address used for the target group. Supported only if the target group type is <code>IP</code>. The default is <code>IPV4</code>.</p>"""
    vpc_identifier: NotRequired["capo_vpc_lattice.types.vpc_id.VpcId"]
    """<p>The ID of the VPC. Not supported if the target group type is <code>LAMBDA</code>.</p>"""
    health_check: NotRequired[
        "capo_vpc_lattice.types.health_check_config.HealthCheckConfig"
    ]
    """<p>The health check configuration. Not supported if the target group type is <code>LAMBDA</code> or <code>ALB</code>.</p>"""
    lambda_event_structure_version: NotRequired[
        "capo_vpc_lattice.types.lambda_event_structure_version.LambdaEventStructureVersion"
    ]
    """<p>The version of the event structure that your Lambda function receives. Supported only if the target group type is <code>LAMBDA</code>. The default is <code>V1</code>.</p>"""

health_check instance-attribute

health_check: NotRequired[HealthCheckConfig]

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

ip_address_type instance-attribute

ip_address_type: NotRequired[IpAddressType]

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

lambda_event_structure_version instance-attribute

lambda_event_structure_version: NotRequired[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.

port instance-attribute

port: NotRequired[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.

protocol instance-attribute

protocol: NotRequired[TargetGroupProtocol]

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.

protocol_version instance-attribute

protocol_version: NotRequired[TargetGroupProtocolVersion]

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

vpc_identifier instance-attribute

vpc_identifier: NotRequired[VpcId]

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