Struct aws_sdk_ecs::model::EphemeralStorage
source · [−]#[non_exhaustive]pub struct EphemeralStorage {
pub size_in_gi_b: 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 Fargate task storage in the Amazon ECS User Guide for Fargate.
This parameter is only supported for tasks hosted on Fargate using Linux platform version 1.4.0
or later. This parameter is not supported for Windows containers on Fargate.
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_gi_b: 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
sourceimpl EphemeralStorage
impl EphemeralStorage
sourcepub fn size_in_gi_b(&self) -> i32
pub fn size_in_gi_b(&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.
sourceimpl EphemeralStorage
impl EphemeralStorage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EphemeralStorage
Trait Implementations
sourceimpl Clone for EphemeralStorage
impl Clone for EphemeralStorage
sourcefn clone(&self) -> EphemeralStorage
fn clone(&self) -> EphemeralStorage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EphemeralStorage
impl Debug for EphemeralStorage
sourceimpl PartialEq<EphemeralStorage> for EphemeralStorage
impl PartialEq<EphemeralStorage> for EphemeralStorage
sourcefn eq(&self, other: &EphemeralStorage) -> bool
fn eq(&self, other: &EphemeralStorage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EphemeralStorage) -> bool
fn ne(&self, other: &EphemeralStorage) -> bool
This method tests for !=
.
impl StructuralPartialEq for EphemeralStorage
Auto Trait Implementations
impl RefUnwindSafe for EphemeralStorage
impl Send for EphemeralStorage
impl Sync for EphemeralStorage
impl Unpin for EphemeralStorage
impl UnwindSafe for EphemeralStorage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more