Class EipArgs


  • public final class EipArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EipArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static EipArgs Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> address()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> associateWithPrivateIp()  
      static EipArgs.Builder builder()  
      static EipArgs.Builder builder​(EipArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> customerOwnedIpv4Pool()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> domain()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> instance()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipamPoolId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkBorderGroup()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkInterface()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> publicIpv4Pool()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Empty

        public static final EipArgs Empty
    • Method Detail

      • address

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> address()
        Returns:
        IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
      • associateWithPrivateIp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> associateWithPrivateIp()
        Returns:
        User-specified primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
      • customerOwnedIpv4Pool

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> customerOwnedIpv4Pool()
        Returns:
        ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
      • domain

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> domain()
        Returns:
        Indicates if this EIP is for use in VPC (`vpc`).
      • instance

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instance()
        Returns:
        EC2 instance ID.
      • ipamPoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipamPoolId()
        Returns:
        The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.
      • networkBorderGroup

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkBorderGroup()
        Returns:
        Location from which the IP address is advertised. Use this parameter to limit the address to this location.
      • networkInterface

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkInterface()
        Returns:
        Network interface ID to associate with.
      • publicIpv4Pool

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> publicIpv4Pool()
        Returns:
        EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** You can specify either the `instance` ID or the `networkInterface` ID, but not both. Including both will **not** return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateAddress.html) for more information. > **NOTE:** Specifying both `publicIpv4Pool` and `address` won't cause an error, however, only `address` will be used if both options are defined as the API only requires one of the two.