java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint
All Implemented Interfaces:
IEndpoint, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:44.046Z") @Stability(Stable) public class CfnEipEndpoint extends software.amazon.jsii.JsiiObject implements IEndpoint
Use an EC2 Instance as a Global Accelerator Endpoint.

Example:

 Listener listener;
 CfnEIP eip;
 listener.addEndpointGroup("Group", EndpointGroupOptions.builder()
         .endpoints(List.of(
             CfnEipEndpoint.Builder.create(eip)
                     .weight(128)
                     .build()))
         .build());
 
  • Constructor Details

    • CfnEipEndpoint

      protected CfnEipEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnEipEndpoint

      protected CfnEipEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnEipEndpoint

      @Stability(Stable) public CfnEipEndpoint(@NotNull CfnEIP eip, @Nullable CfnEipEndpointProps options)
      Parameters:
      eip - This parameter is required.
      options -
    • CfnEipEndpoint

      @Stability(Stable) public CfnEipEndpoint(@NotNull CfnEIP eip)
      Parameters:
      eip - This parameter is required.
  • Method Details

    • renderEndpointConfiguration

      @Stability(Stable) @NotNull public Object renderEndpointConfiguration()
      Render the endpoint to an endpoint configuration.
      Specified by:
      renderEndpointConfiguration in interface IEndpoint
    • getRegion

      @Stability(Stable) @Nullable public String getRegion()
      The region where the endpoint is located.

      If the region cannot be determined, undefined is returned

      Specified by:
      getRegion in interface IEndpoint