EndpointConfigurationOptions

class aws_cdk.aws_globalaccelerator.EndpointConfigurationOptions(*, client_ip_reservation=None, weight=None)

Bases: object

(experimental) Options for addLoadBalancer, addElasticIpAddress and addEc2Instance to add endpoints into the endpoint group.

Parameters
  • client_ip_reservation (Optional[bool]) – (experimental) Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. Default: true

  • weight (Union[int, float, None]) – (experimental) The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. Default: - not specified

Stability

experimental

Attributes

client_ip_reservation

(experimental) Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint.

Default

true

Stability

experimental

Return type

Optional[bool]

weight

(experimental) The weight associated with the endpoint.

When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint.

Default
  • not specified

See

https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html

Stability

experimental

Return type

Union[int, float, None]