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
- Type:
Ipv4Address (custom validator) - Required: No
The Elastic IP address to recover or an IPv4 address from an address pool.
domain
- Type: Domain
- Required: No
The network (vpc).
public_ipv4_pool
- Type:
String - Required: No
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
- Type: Map<
String,String> - Required: No
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
- Type:
AllocationId (pattern: /^eipalloc-[0-9a-f]{8,}$/ (Full)) - Read-only
The ID representing the allocation of the address.
public_ip
- Type:
Ipv4Address (custom validator) - Read-only
The Elastic IP address.