pub struct VolumeSpecification {
pub iops: Option<i64>,
pub size_in_gb: i64,
pub volume_type: String,
}
Expand description
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
Fields§
§iops: Option<i64>
The number of I/O operations per second (IOPS) that the volume supports.
size_in_gb: i64
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
volume_type: String
The volume type. Volume types supported are gp2, io1, standard.
Trait Implementations§
Source§impl Clone for VolumeSpecification
impl Clone for VolumeSpecification
Source§fn clone(&self) -> VolumeSpecification
fn clone(&self) -> VolumeSpecification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VolumeSpecification
impl Debug for VolumeSpecification
Source§impl Default for VolumeSpecification
impl Default for VolumeSpecification
Source§fn default() -> VolumeSpecification
fn default() -> VolumeSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeSpecification
impl<'de> Deserialize<'de> for VolumeSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VolumeSpecification
impl PartialEq for VolumeSpecification
Source§impl Serialize for VolumeSpecification
impl Serialize for VolumeSpecification
impl StructuralPartialEq for VolumeSpecification
Auto Trait Implementations§
impl Freeze for VolumeSpecification
impl RefUnwindSafe for VolumeSpecification
impl Send for VolumeSpecification
impl Sync for VolumeSpecification
impl Unpin for VolumeSpecification
impl UnwindSafe for VolumeSpecification
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
Mutably borrows from an owned value. Read more