Struct aws_sdk_ec2::model::Volume [−][src]
#[non_exhaustive]pub struct Volume {Show 16 fields
pub attachments: Option<Vec<VolumeAttachment>>,
pub availability_zone: Option<String>,
pub create_time: Option<DateTime>,
pub encrypted: Option<bool>,
pub kms_key_id: Option<String>,
pub outpost_arn: Option<String>,
pub size: Option<i32>,
pub snapshot_id: Option<String>,
pub state: Option<VolumeState>,
pub volume_id: Option<String>,
pub iops: Option<i32>,
pub tags: Option<Vec<Tag>>,
pub volume_type: Option<VolumeType>,
pub fast_restored: Option<bool>,
pub multi_attach_enabled: Option<bool>,
pub throughput: Option<i32>,
}
Expand description
Describes a volume.
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.attachments: Option<Vec<VolumeAttachment>>
Information about the volume attachments.
availability_zone: Option<String>
The Availability Zone for the volume.
create_time: Option<DateTime>
The time stamp when volume creation was initiated.
encrypted: Option<bool>
Indicates whether the volume is encrypted.
kms_key_id: Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost.
size: Option<i32>
The size of the volume, in GiBs.
snapshot_id: Option<String>
The snapshot from which the volume was created, if applicable.
state: Option<VolumeState>
The volume state.
volume_id: Option<String>
The ID of the volume.
iops: Option<i32>
The number of I/O operations per second (IOPS). For gp3
, io1
, and io2
volumes, this represents
the number of IOPS that are provisioned for the volume. For gp2
volumes, this represents the baseline
performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
Any tags assigned to the volume.
volume_type: Option<VolumeType>
The volume type.
fast_restored: Option<bool>
Indicates whether the volume was created using fast snapshot restore.
multi_attach_enabled: Option<bool>
Indicates whether Amazon EBS Multi-Attach is enabled.
throughput: Option<i32>
The throughput that the volume supports, in MiB/s.
Implementations
Information about the volume attachments.
The Availability Zone for the volume.
The time stamp when volume creation was initiated.
The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.
The Amazon Resource Name (ARN) of the Outpost.
The snapshot from which the volume was created, if applicable.
The volume state.
The number of I/O operations per second (IOPS). For gp3
, io1
, and io2
volumes, this represents
the number of IOPS that are provisioned for the volume. For gp2
volumes, this represents the baseline
performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
Any tags assigned to the volume.
The volume type.
Indicates whether the volume was created using fast snapshot restore.
Indicates whether Amazon EBS Multi-Attach is enabled.
The throughput that the volume supports, in MiB/s.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Volume
impl UnwindSafe for Volume
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more