Struct aws_sdk_ecs::types::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 information about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
operating_system_family: Option<OsFamily>The operating system.
Implementations§
source§impl 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 available for tasks that run on Linux 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.
source§impl RuntimePlatform
impl RuntimePlatform
sourcepub fn builder() -> RuntimePlatformBuilder
pub fn builder() -> RuntimePlatformBuilder
Creates a new builder-style object to manufacture RuntimePlatform.
Trait Implementations§
source§impl Clone for RuntimePlatform
impl Clone for RuntimePlatform
source§fn clone(&self) -> RuntimePlatform
fn clone(&self) -> RuntimePlatform
Returns a copy 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 RuntimePlatform
impl Debug for RuntimePlatform
source§impl PartialEq for RuntimePlatform
impl PartialEq for RuntimePlatform
source§fn 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 ==.impl StructuralPartialEq for RuntimePlatform
Auto Trait Implementations§
impl Freeze for RuntimePlatform
impl RefUnwindSafe for RuntimePlatform
impl Send for RuntimePlatform
impl Sync for RuntimePlatform
impl Unpin for RuntimePlatform
impl UnwindSafe for RuntimePlatform
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
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>
Creates a shared type from an unshared type.