Struct aws_sdk_ecs::types::RuntimePlatform
source · #[non_exhaustive]pub struct RuntimePlatform { /* private fields */ }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.
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<RuntimePlatform> for RuntimePlatform
impl PartialEq<RuntimePlatform> 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 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