Interface EIPReference

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EIPReference.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-15T14:51:56.304Z") @Stability(Stable) public interface EIPReference extends software.amazon.jsii.JsiiSerializable
A reference to a EIP resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 EIPReference eIPReference = EIPReference.builder()
         .allocationId("allocationId")
         .publicIp("publicIp")
         .build();
 
  • Method Details

    • getAllocationId

      @Stability(Stable) @NotNull String getAllocationId()
      The AllocationId of the EIP resource.
    • getPublicIp

      @Stability(Stable) @NotNull String getPublicIp()
      The PublicIp of the EIP resource.
    • builder

      @Stability(Stable) static EIPReference.Builder builder()
      Returns:
      a EIPReference.Builder of EIPReference