Struct aws_sdk_ec2::types::InstanceSpecification
source · #[non_exhaustive]pub struct InstanceSpecification {
pub instance_id: Option<String>,
pub exclude_boot_volume: Option<bool>,
pub exclude_data_volume_ids: Option<Vec<String>>,
}
Expand description
The instance details to specify which volumes should be snapshotted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.instance_id: Option<String>
The instance to specify which volumes should be snapshotted.
exclude_boot_volume: Option<bool>
Excludes the root volume from being snapshotted.
exclude_data_volume_ids: Option<Vec<String>>
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
Implementations§
source§impl InstanceSpecification
impl InstanceSpecification
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The instance to specify which volumes should be snapshotted.
sourcepub fn exclude_boot_volume(&self) -> Option<bool>
pub fn exclude_boot_volume(&self) -> Option<bool>
Excludes the root volume from being snapshotted.
sourcepub fn exclude_data_volume_ids(&self) -> Option<&[String]>
pub fn exclude_data_volume_ids(&self) -> Option<&[String]>
The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.
You can specify up to 40 volume IDs per request.
source§impl InstanceSpecification
impl InstanceSpecification
sourcepub fn builder() -> InstanceSpecificationBuilder
pub fn builder() -> InstanceSpecificationBuilder
Creates a new builder-style object to manufacture InstanceSpecification
.
Trait Implementations§
source§impl Clone for InstanceSpecification
impl Clone for InstanceSpecification
source§fn clone(&self) -> InstanceSpecification
fn clone(&self) -> InstanceSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceSpecification
impl Debug for InstanceSpecification
source§impl PartialEq<InstanceSpecification> for InstanceSpecification
impl PartialEq<InstanceSpecification> for InstanceSpecification
source§fn eq(&self, other: &InstanceSpecification) -> bool
fn eq(&self, other: &InstanceSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.