CfnEipEndpointProps

class aws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpointProps(*, weight=None)

Bases: object

Properties for a NetworkLoadBalancerEndpoint.

Parameters:

weight (Union[int, float, None]) – Endpoint weight across all endpoints in the group. Must be a value between 0 and 255. Default: 128

ExampleMetadata:

infused

Example:

# listener: globalaccelerator.Listener
# eip: ec2.CfnEIP


listener.add_endpoint_group("Group",
    endpoints=[
        ga_endpoints.CfnEipEndpoint(eip,
            weight=128
        )
    ]
)

Attributes

weight

Endpoint weight across all endpoints in the group.

Must be a value between 0 and 255.

Default:

128