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.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.528Z") @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