Struct aws_sdk_ecs::model::RuntimePlatform
source · [−]#[non_exhaustive]pub struct RuntimePlatform {
pub cpu_architecture: Option<CpuArchitecture>,
pub operating_system_family: Option<OsFamily>,
}
Expand description
Information about the platform for the Amazon ECS service or task.
For more informataion about RuntimePlatform
, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.
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.cpu_architecture: Option<CpuArchitecture>
The CPU architecture.
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64
. This option is avaiable for tasks that run on Linuc Amazon EC2 instance or Linux containers on Fargate.
operating_system_family: Option<OsFamily>
The operating system.
Implementations
sourceimpl RuntimePlatform
impl RuntimePlatform
sourcepub fn cpu_architecture(&self) -> Option<&CpuArchitecture>
pub fn cpu_architecture(&self) -> Option<&CpuArchitecture>
The CPU architecture.
You can run your Linux tasks on an ARM-based platform by setting the value to ARM64
. This option is avaiable for tasks that run on Linuc Amazon EC2 instance or Linux containers on Fargate.
sourcepub fn operating_system_family(&self) -> Option<&OsFamily>
pub fn operating_system_family(&self) -> Option<&OsFamily>
The operating system.
sourceimpl RuntimePlatform
impl RuntimePlatform
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RuntimePlatform
Trait Implementations
sourceimpl Clone for RuntimePlatform
impl Clone for RuntimePlatform
sourcefn clone(&self) -> RuntimePlatform
fn clone(&self) -> RuntimePlatform
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 RuntimePlatform
impl Debug for RuntimePlatform
sourceimpl PartialEq<RuntimePlatform> for RuntimePlatform
impl PartialEq<RuntimePlatform> for RuntimePlatform
sourcefn eq(&self, other: &RuntimePlatform) -> bool
fn eq(&self, other: &RuntimePlatform) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuntimePlatform) -> bool
fn ne(&self, other: &RuntimePlatform) -> bool
This method tests for !=
.
impl StructuralPartialEq for RuntimePlatform
Auto Trait Implementations
impl RefUnwindSafe for RuntimePlatform
impl Send for RuntimePlatform
impl Sync for RuntimePlatform
impl Unpin for RuntimePlatform
impl UnwindSafe for RuntimePlatform
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