pub struct AmiFromInstanceArgs {
pub deprecation_time: Output<Option<String>>,
pub description: Output<Option<String>>,
pub ebs_block_devices: Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>,
pub ephemeral_block_devices: Output<Option<Vec<AmiFromInstanceEphemeralBlockDevice>>>,
pub name: Output<Option<String>>,
pub snapshot_without_reboot: Output<Option<bool>>,
pub source_instance_id: Output<String>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§deprecation_time: Output<Option<String>>
Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
description: Output<Option<String>>
Longer, human-readable description for the AMI.
ebs_block_devices: Output<Option<Vec<AmiFromInstanceEbsBlockDevice>>>
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
ephemeral_block_devices: Output<Option<Vec<AmiFromInstanceEphemeralBlockDevice>>>
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
name: Output<Option<String>>
Region-unique name for the AMI.
snapshot_without_reboot: Output<Option<bool>>
Boolean that overrides the behavior of stopping the instance before snapshotting. This is risky since it may cause a snapshot of an inconsistent filesystem state, but can be used to avoid downtime if the user otherwise guarantees that no filesystem writes will be underway at the time of snapshot.
source_instance_id: Output<String>
ID of the instance to use as the basis of the AMI.
Map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementations§
source§impl AmiFromInstanceArgs
impl AmiFromInstanceArgs
sourcepub fn builder() -> AmiFromInstanceArgsBuilder
pub fn builder() -> AmiFromInstanceArgsBuilder
Create an instance of AmiFromInstanceArgs
using the builder syntax
Trait Implementations§
source§impl Clone for AmiFromInstanceArgs
impl Clone for AmiFromInstanceArgs
source§fn clone(&self) -> AmiFromInstanceArgs
fn clone(&self) -> AmiFromInstanceArgs
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 AmiFromInstanceArgs
impl RefUnwindSafe for AmiFromInstanceArgs
impl Send for AmiFromInstanceArgs
impl Sync for AmiFromInstanceArgs
impl Unpin for AmiFromInstanceArgs
impl UnwindSafe for AmiFromInstanceArgs
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
)