Carina

Resource

aws.ec2.Eip

Describes an Elastic IP address, or a carrier IP address.

Example

aws.ec2.Eip {
  domain = aws.ec2.Eip.Domain.vpc

  tags = {
    Environment = 'example'
  }
}

Argument Reference

address

The Elastic IP address to recover or an IPv4 address from an address pool.

domain

The network (vpc).

public_ipv4_pool

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. To specify a specific address from the address pool, use the Address parameter instead.

tags

The tags for the resource.

Enum Values

domain (Domain)

Value DSL Identifier
standard aws.ec2.Eip.Domain.standard
vpc aws.ec2.Eip.Domain.vpc

Shorthand formats: standard or Domain.standard

Attribute Reference

allocation_id

The ID representing the allocation of the address.

public_ip

The Elastic IP address.