Class: Aws::EC2::Types::AssociateAddressRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::AssociateAddressRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allocation_id ⇒ String
The allocation ID.
-
#allow_reassociation ⇒ Boolean
Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_id ⇒ String
The ID of the instance.
-
#network_interface_id ⇒ String
The ID of the network interface.
-
#private_ip_address ⇒ String
The primary or secondary private IP address to associate with the Elastic IP address.
-
#public_ip ⇒ String
Deprecated.
Instance Attribute Details
#allocation_id ⇒ String
The allocation ID. This is required.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#allow_reassociation ⇒ Boolean
Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#network_interface_id ⇒ String
The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
You can specify either the instance ID or the network interface ID, but not both.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#private_ip_address ⇒ String
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |
#public_ip ⇒ String
Deprecated.
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/aws-sdk-ec2/types.rb', line 1990 class AssociateAddressRequest < Struct.new( :allocation_id, :instance_id, :public_ip, :dry_run, :network_interface_id, :private_ip_address, :allow_reassociation) SENSITIVE = [] include Aws::Structure end |