aws-cdk-lib.aws_globalaccelerator_endpoints.CfnEipEndpoint

class CfnEipEndpoint

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.Endpoints.CfnEipEndpoint
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalacceleratorendpoints#CfnEipEndpoint
Javasoftware.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint
Pythonaws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpoint
TypeScript (source)aws-cdk-lib » aws_globalaccelerator_endpoints » CfnEipEndpoint

Implements IEndpoint

Use an EC2 Instance as a Global Accelerator Endpoint.

Example

declare const listener: globalaccelerator.Listener;
declare const eip: ec2.CfnEIP;

listener.addEndpointGroup('Group', {
  endpoints: [
    new ga_endpoints.CfnEipEndpoint(eip, {
      weight: 128,
    }),
  ],
});

Initializer

new CfnEipEndpoint(eip: CfnEIP, options?: CfnEipEndpointProps)

Parameters

  • eip CfnEIP
  • options CfnEipEndpointProps

Properties

NameTypeDescription
region?stringThe region where the endpoint is located.

region?

Type: string (optional)

The region where the endpoint is located.

If the region cannot be determined, undefined is returned

Methods

NameDescription
renderEndpointConfiguration()Render the endpoint to an endpoint configuration.

renderEndpointConfiguration()

public renderEndpointConfiguration(): any

Returns

  • any

Render the endpoint to an endpoint configuration.