1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. Eip

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

aws-native.ec2.Eip

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Resource Type definition for AWS::EC2::EIP

    Create Eip Resource

    new Eip(name: string, args?: EipArgs, opts?: CustomResourceOptions);
    @overload
    def Eip(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            domain: Optional[str] = None,
            instance_id: Optional[str] = None,
            network_border_group: Optional[str] = None,
            public_ipv4_pool: Optional[str] = None,
            tags: Optional[Sequence[EipTagArgs]] = None,
            transfer_address: Optional[str] = None)
    @overload
    def Eip(resource_name: str,
            args: Optional[EipArgs] = None,
            opts: Optional[ResourceOptions] = None)
    func NewEip(ctx *Context, name string, args *EipArgs, opts ...ResourceOption) (*Eip, error)
    public Eip(string name, EipArgs? args = null, CustomResourceOptions? opts = null)
    public Eip(String name, EipArgs args)
    public Eip(String name, EipArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:Eip
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args EipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EipArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EipArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EipArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Eip Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Eip resource accepts the following input properties:

    Domain string

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    InstanceId string

    The ID of the instance.

    NetworkBorderGroup string

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    PublicIpv4Pool string

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    Tags List<Pulumi.AwsNative.Ec2.Inputs.EipTag>

    Any tags assigned to the EIP.

    TransferAddress string

    The PublicIP of the EIP generated by resource through transfer from another account

    Domain string

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    InstanceId string

    The ID of the instance.

    NetworkBorderGroup string

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    PublicIpv4Pool string

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    Tags []EipTagArgs

    Any tags assigned to the EIP.

    TransferAddress string

    The PublicIP of the EIP generated by resource through transfer from another account

    domain String

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    instanceId String

    The ID of the instance.

    networkBorderGroup String

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    publicIpv4Pool String

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    tags List<EipTag>

    Any tags assigned to the EIP.

    transferAddress String

    The PublicIP of the EIP generated by resource through transfer from another account

    domain string

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    instanceId string

    The ID of the instance.

    networkBorderGroup string

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    publicIpv4Pool string

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    tags EipTag[]

    Any tags assigned to the EIP.

    transferAddress string

    The PublicIP of the EIP generated by resource through transfer from another account

    domain str

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    instance_id str

    The ID of the instance.

    network_border_group str

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    public_ipv4_pool str

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    tags Sequence[EipTagArgs]

    Any tags assigned to the EIP.

    transfer_address str

    The PublicIP of the EIP generated by resource through transfer from another account

    domain String

    Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.

    instanceId String

    The ID of the instance.

    networkBorderGroup String

    A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

    publicIpv4Pool String

    The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

    tags List<Property Map>

    Any tags assigned to the EIP.

    transferAddress String

    The PublicIP of the EIP generated by resource through transfer from another account

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Eip resource produces the following output properties:

    AllocationId string

    The Allocation ID of the EIP generated by resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    PublicIp string

    The PublicIP of the EIP generated by resource.

    AllocationId string

    The Allocation ID of the EIP generated by resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    PublicIp string

    The PublicIP of the EIP generated by resource.

    allocationId String

    The Allocation ID of the EIP generated by resource.

    id String

    The provider-assigned unique ID for this managed resource.

    publicIp String

    The PublicIP of the EIP generated by resource.

    allocationId string

    The Allocation ID of the EIP generated by resource.

    id string

    The provider-assigned unique ID for this managed resource.

    publicIp string

    The PublicIP of the EIP generated by resource.

    allocation_id str

    The Allocation ID of the EIP generated by resource.

    id str

    The provider-assigned unique ID for this managed resource.

    public_ip str

    The PublicIP of the EIP generated by resource.

    allocationId String

    The Allocation ID of the EIP generated by resource.

    id String

    The provider-assigned unique ID for this managed resource.

    publicIp String

    The PublicIP of the EIP generated by resource.

    Supporting Types

    EipTag, EipTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi