pub struct EipAssociationArgs {
pub allocation_id: Output<Option<String>>,
pub allow_reassociation: Output<Option<bool>>,
pub instance_id: Output<Option<String>>,
pub network_interface_id: Output<Option<String>>,
pub private_ip_address: Output<Option<String>>,
pub public_ip: Output<Option<String>>,
}
Fields§
§allocation_id: Output<Option<String>>
The allocation ID. This is required for EC2-VPC.
allow_reassociation: Output<Option<bool>>
Whether to allow an Elastic IP to
be re-associated. Defaults to true
in VPC.
instance_id: Output<Option<String>>
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
network_interface_id: Output<Option<String>>
The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
private_ip_address: Output<Option<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.
public_ip: Output<Option<String>>
The Elastic IP address. This is required for EC2-Classic.
Implementations§
source§impl EipAssociationArgs
impl EipAssociationArgs
sourcepub fn builder() -> EipAssociationArgsBuilder
pub fn builder() -> EipAssociationArgsBuilder
Create an instance of EipAssociationArgs
using the builder syntax
Trait Implementations§
source§impl Clone for EipAssociationArgs
impl Clone for EipAssociationArgs
source§fn clone(&self) -> EipAssociationArgs
fn clone(&self) -> EipAssociationArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for EipAssociationArgs
impl RefUnwindSafe for EipAssociationArgs
impl Send for EipAssociationArgs
impl Sync for EipAssociationArgs
impl Unpin for EipAssociationArgs
impl UnwindSafe for EipAssociationArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)