aws-cdk-lib.aws_globalaccelerator_endpoints.CfnEipEndpointProps

interface CfnEipEndpointProps

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.Endpoints.CfnEipEndpointProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalacceleratorendpoints#CfnEipEndpointProps
Javasoftware.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpointProps
Pythonaws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpointProps
TypeScript (source)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

NameTypeDescription
weight?numberEndpoint 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.