AssociateAddressRequest
¶
Source code in docs_src/capo_ec2/types/associate_address_request.py
allocation_id
instance-attribute
¶
allocation_id: NotRequired[AllocationId]
The allocation ID. This is required.
allow_reassociation
instance-attribute
¶
allow_reassociation: NotRequired[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
instance-attribute
¶
dry_run: NotRequired[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.
instance_id
instance-attribute
¶
instance_id: NotRequired[InstanceId]
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.
network_interface_id
instance-attribute
¶
network_interface_id: NotRequired[NetworkInterfaceId]
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.