AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.Eip
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
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.
- Instance
Id string The ID of the instance.
- Network
Border stringGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- Public
Ipv4Pool string The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- List<Pulumi.
Aws Native. Ec2. Inputs. Eip Tag> Any tags assigned to the EIP.
- Transfer
Address 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.
- Instance
Id string The ID of the instance.
- Network
Border stringGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- Public
Ipv4Pool string The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- []Eip
Tag Args Any tags assigned to the EIP.
- Transfer
Address 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.
- instance
Id String The ID of the instance.
- network
Border StringGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- public
Ipv4Pool String The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- List<Eip
Tag> Any tags assigned to the EIP.
- transfer
Address 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.
- instance
Id string The ID of the instance.
- network
Border stringGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- public
Ipv4Pool string The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- Eip
Tag[] Any tags assigned to the EIP.
- transfer
Address 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_ strgroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- public_
ipv4_ strpool The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- Sequence[Eip
Tag Args] 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.
- instance
Id String The ID of the instance.
- network
Border StringGroup A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- public
Ipv4Pool String The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.
- List<Property Map>
Any tags assigned to the EIP.
- transfer
Address 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:
- Allocation
Id string The Allocation ID of the EIP generated by resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Public
Ip string The PublicIP of the EIP generated by resource.
- Allocation
Id string The Allocation ID of the EIP generated by resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Public
Ip string The PublicIP of the EIP generated by resource.
- allocation
Id String The Allocation ID of the EIP generated by resource.
- id String
The provider-assigned unique ID for this managed resource.
- public
Ip String The PublicIP of the EIP generated by resource.
- allocation
Id string The Allocation ID of the EIP generated by resource.
- id string
The provider-assigned unique ID for this managed resource.
- public
Ip 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.
- allocation
Id String The Allocation ID of the EIP generated by resource.
- id String
The provider-assigned unique ID for this managed resource.
- public
Ip String The PublicIP of the EIP generated by resource.
Supporting Types
EipTag, EipTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.