EndpointConfiguration

class aws_cdk.aws_globalaccelerator.EndpointConfiguration(scope, id, *, endpoint_group, endpoint_id, client_ip_reservation=None, weight=None)

Bases: aws_cdk.core.Construct

(experimental) The class for endpoint configuration.

Stability

experimental

Parameters
  • scope (Construct) –

  • id (str) –

  • endpoint_group (EndpointGroup) – (experimental) The endopoint group reesource. [disable-awslint:ref-via-interface]

  • endpoint_id (str) – (experimental) 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 EC2 instances, this is the EC2 instance ID.

  • 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

Methods

render_endpoint_configuration()

(experimental) render the endpoint configuration for the endpoint group.

Stability

experimental

Return type

EndpointConfigurationProperty

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

node

The construct tree node associated with this construct.

Return type

ConstructNode

props

(experimental) The property containing all the configuration to be rendered.

Stability

experimental

Return type

EndpointConfigurationProps

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool