interface CfnEipEndpointProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GlobalAccelerator.Endpoints.CfnEipEndpointProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglobalacceleratorendpoints#CfnEipEndpointProps |
![]() | software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpointProps |
![]() | aws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpointProps |
![]() | aws-cdk-lib » aws_globalaccelerator_endpoints » CfnEipEndpointProps |
Properties for a NetworkLoadBalancerEndpoint.
Example
declare const listener: globalaccelerator.Listener;
declare const eip: ec2.CfnEIP;
listener.addEndpointGroup('Group', {
endpoints: [
new ga_endpoints.CfnEipEndpoint(eip, {
weight: 128,
}),
],
});
Properties
Name | Type | Description |
---|---|---|
weight? | number | Endpoint weight across all endpoints in the group. |
weight?
Type:
number
(optional, default: 128)
Endpoint weight across all endpoints in the group.
Must be a value between 0 and 255.