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.0or later. -
Windows platform version
1.0.0or 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: i32The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 20 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 20 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
impl StructuralPartialEq for EphemeralStorage
Auto Trait Implementations§
impl Freeze for EphemeralStorage
impl RefUnwindSafe for EphemeralStorage
impl Send for EphemeralStorage
impl Sync for EphemeralStorage
impl Unpin for EphemeralStorage
impl UnwindSafe for EphemeralStorage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more