summaryrefslogtreecommitdiff
path: root/boto/ec2/address.py
diff options
context:
space:
mode:
Diffstat (limited to 'boto/ec2/address.py')
-rw-r--r--boto/ec2/address.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/boto/ec2/address.py b/boto/ec2/address.py
index 2d83b22e..8a93ac83 100644
--- a/boto/ec2/address.py
+++ b/boto/ec2/address.py
@@ -88,7 +88,7 @@ class Address(EC2Object):
delete = release
- def associate(self, instance_id=None, network_interface_id=None, allow_reassociation=False, dry_run=False):
+ def associate(self, instance_id=None, network_interface_id=None, private_ip_address=None, allow_reassociation=False, dry_run=False):
"""
Associate this Elastic IP address with a currently running instance.
:see: :meth:`boto.ec2.connection.EC2Connection.associate_address`
@@ -99,6 +99,7 @@ class Address(EC2Object):
public_ip=self.public_ip,
allocation_id=self.allocation_id,
network_interface_id=network_interface_id,
+ private_ip_address=private_ip_address,
allow_reassociation=allow_reassociation,
dry_run=dry_run
)
@@ -106,6 +107,7 @@ class Address(EC2Object):
instance_id=instance_id,
public_ip=self.public_ip,
network_interface_id=network_interface_id,
+ private_ip_address=private_ip_address,
allow_reassociation=allow_reassociation,
dry_run=dry_run
)