Struct aws_sdk_securityhub::model::AwsEc2VolumeDetails [−][src]
#[non_exhaustive]pub struct AwsEc2VolumeDetails {
pub create_time: Option<String>,
pub encrypted: bool,
pub size: i32,
pub snapshot_id: Option<String>,
pub status: Option<String>,
pub kms_key_id: Option<String>,
pub attachments: Option<Vec<AwsEc2VolumeAttachment>>,
}
Expand description
Details about an EC2 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.create_time: Option<String>
Indicates when the volume was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
encrypted: bool
Whether the volume is encrypted.
size: i32
The size of the volume, in GiBs.
snapshot_id: Option<String>
The snapshot from which the volume was created.
status: Option<String>
The volume state.
kms_key_id: Option<String>
The ARN of the KMS key that was used to protect the volume encryption key for the volume.
attachments: Option<Vec<AwsEc2VolumeAttachment>>
The volume attachments.
Implementations
Indicates when the volume was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
The snapshot from which the volume was created.
The ARN of the KMS key that was used to protect the volume encryption key for the volume.
The volume attachments.
Creates a new builder-style object to manufacture AwsEc2VolumeDetails
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2VolumeDetails
impl Send for AwsEc2VolumeDetails
impl Sync for AwsEc2VolumeDetails
impl Unpin for AwsEc2VolumeDetails
impl UnwindSafe for AwsEc2VolumeDetails
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