Skip to content

EndpointIdentifier

Source code in docs_src/capo_global_accelerator/types/endpoint_identifier.py
class EndpointIdentifier(TypedDict, closed=True):
    endpoint_id: "capo_global_accelerator.types.generic_string.GenericString"
    """<p>An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. </p> <p>An Application Load Balancer can be either internal or internet-facing.</p>"""
    client_ip_preservation_enabled: NotRequired[
        "capo_global_accelerator.types.generic_boolean.GenericBoolean"
    ]
    """<p>Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false. </p> <p>If the value is set to true, the client's IP address is preserved in packets that arrive at the endpoint. For Amazon EC2 instance and Network Load Balancer endpoints, the client IP address is the source address in the IP header of the packet. For Application Load Balancer endpoints, because the Application Load Balancer terminates the incoming TCP connection, the client IP address is available in the <code>X-Forwarded-For</code> request header.</p>"""

client_ip_preservation_enabled instance-attribute

client_ip_preservation_enabled: NotRequired[GenericBoolean]

Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false.

If the value is set to true, the client's IP address is preserved in packets that arrive at the endpoint. For Amazon EC2 instance and Network Load Balancer endpoints, the client IP address is the source address in the IP header of the packet. For Application Load Balancer endpoints, because the Application Load Balancer terminates the incoming TCP connection, the client IP address is available in the X-Forwarded-For request header.

endpoint_id instance-attribute

endpoint_id: GenericString

An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.

An Application Load Balancer can be either internal or internet-facing.