Struct aws_sdk_ecs::types::EphemeralStorage
source · #[non_exhaustive]pub struct EphemeralStorage {
pub size_in_gib: i32,
}
Expand description
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide;.
For tasks using the Fargate launch type, the task requires the following platforms:
-
Linux platform version
1.4.0
or later. -
Windows platform version
1.0.0
or later.
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.size_in_gib: i32
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.
Implementations§
source§impl EphemeralStorage
impl EphemeralStorage
sourcepub fn size_in_gib(&self) -> i32
pub fn size_in_gib(&self) -> i32
The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21
GiB and the maximum supported value is 200
GiB.
source§impl EphemeralStorage
impl EphemeralStorage
sourcepub fn builder() -> EphemeralStorageBuilder
pub fn builder() -> EphemeralStorageBuilder
Creates a new builder-style object to manufacture EphemeralStorage
.
Trait Implementations§
source§impl Clone for EphemeralStorage
impl Clone for EphemeralStorage
source§fn clone(&self) -> EphemeralStorage
fn clone(&self) -> EphemeralStorage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EphemeralStorage
impl Debug for EphemeralStorage
source§impl PartialEq for EphemeralStorage
impl PartialEq for EphemeralStorage
source§fn eq(&self, other: &EphemeralStorage) -> bool
fn eq(&self, other: &EphemeralStorage) -> bool
self
and other
values to be equal, and is used
by ==
.