Interface CfnEIPProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.553Z") @Stability(Stable) public interface CfnEIPProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnEIP.

Example:

 Instance instance;
 HostedZone myZone;
 CfnEIP elasticIp = CfnEIP.Builder.create(this, "EIP")
         .domain("vpc")
         .instanceId(instance.getInstanceId())
         .build();
 ARecord.Builder.create(this, "ARecord")
         .zone(myZone)
         .target(RecordTarget.fromIpAddresses(elasticIp.getRef()))
         .build();
 
  • Method Details

    • getDomain

      @Stability(Stable) @Nullable default String getDomain()
      The network ( vpc ).

      If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the DependsOn Attribute on this resource.

    • getInstanceId

      @Stability(Stable) @Nullable default String getInstanceId()
      The ID of the instance.

      Updates to the InstanceId property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.

    • getNetworkBorderGroup

      @Stability(Stable) @Nullable default String getNetworkBorderGroup()
      A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

      Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

      Use DescribeAvailabilityZones to view the network border groups.

      You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination error.

    • getPublicIpv4Pool

      @Stability(Stable) @Nullable default String getPublicIpv4Pool()
      The ID of an address pool that you own.

      Use this parameter to let Amazon EC2 select an address from the address pool.

      Updates to the PublicIpv4Pool property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Any tags assigned to the Elastic IP address.

      Updates to the Tags property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.

    • getTransferAddress

      @Stability(Stable) @Nullable default String getTransferAddress()
      The Elastic IP address you are accepting for transfer.

      You can only accept one transferred address. For more information on Elastic IP address transfers, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide .

    • builder

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