pub struct AmiCopyArgs {
pub deprecation_time: Output<Option<String>>,
pub description: Output<Option<String>>,
pub destination_outpost_arn: Output<Option<String>>,
pub ebs_block_devices: Output<Option<Vec<AmiCopyEbsBlockDevice>>>,
pub encrypted: Output<Option<bool>>,
pub ephemeral_block_devices: Output<Option<Vec<AmiCopyEphemeralBlockDevice>>>,
pub kms_key_id: Output<Option<String>>,
pub name: Output<Option<String>>,
pub source_ami_id: Output<String>,
pub source_ami_region: 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.
destination_outpost_arn: Output<Option<String>>
ARN of the Outpost to which to copy the AMI. Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
ebs_block_devices: Output<Option<Vec<AmiCopyEbsBlockDevice>>>
Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
encrypted: Output<Option<bool>>
Whether the destination snapshots of the copied image should be encrypted. Defaults to false
ephemeral_block_devices: Output<Option<Vec<AmiCopyEphemeralBlockDevice>>>
Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
kms_key_id: Output<Option<String>>
Full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
name: Output<Option<String>>
Region-unique name for the AMI.
source_ami_id: Output<String>
Id of the AMI to copy. This id must be valid in the region
given by source_ami_region
.
source_ami_region: Output<String>
Region from which the AMI will be copied. This may be the same as the AWS provider region in order to create a copy within the same region.
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 AmiCopyArgs
impl AmiCopyArgs
sourcepub fn builder() -> AmiCopyArgsBuilder
pub fn builder() -> AmiCopyArgsBuilder
Create an instance of AmiCopyArgs
using the builder syntax
Trait Implementations§
source§impl Clone for AmiCopyArgs
impl Clone for AmiCopyArgs
source§fn clone(&self) -> AmiCopyArgs
fn clone(&self) -> AmiCopyArgs
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 AmiCopyArgs
impl RefUnwindSafe for AmiCopyArgs
impl Send for AmiCopyArgs
impl Sync for AmiCopyArgs
impl Unpin for AmiCopyArgs
impl UnwindSafe for AmiCopyArgs
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
)