CfnEipEndpoint
- class aws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpoint(eip, *, weight=None)
Bases:
object
Use an EC2 Instance as a Global Accelerator Endpoint.
- ExampleMetadata:
infused
Example:
# listener: globalaccelerator.Listener # eip: ec2.CfnEIP listener.add_endpoint_group("Group", endpoints=[ ga_endpoints.CfnEipEndpoint(eip, weight=128 ) ] )
- Parameters:
eip (
CfnEIP
) –weight (
Union
[int
,float
,None
]) – Endpoint weight across all endpoints in the group. Must be a value between 0 and 255. Default: 128
Methods
- render_endpoint_configuration()
Render the endpoint to an endpoint configuration.
- Return type:
Any
Attributes
- region
The region where the endpoint is located.
If the region cannot be determined,
undefined
is returned