Struct aws_sdk_batch::types::FargatePlatformConfiguration
source · #[non_exhaustive]pub struct FargatePlatformConfiguration {
pub platform_version: Option<String>,
}
Expand description
The platform configuration for jobs that are running on Fargate resources. Jobs that run on Amazon EC2 resources must not specify this parameter.
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.platform_version: Option<String>
The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the LATEST
platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see Fargate platform versions in the Amazon Elastic Container Service Developer Guide.
Implementations§
source§impl FargatePlatformConfiguration
impl FargatePlatformConfiguration
sourcepub fn platform_version(&self) -> Option<&str>
pub fn platform_version(&self) -> Option<&str>
The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the LATEST
platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see Fargate platform versions in the Amazon Elastic Container Service Developer Guide.
source§impl FargatePlatformConfiguration
impl FargatePlatformConfiguration
sourcepub fn builder() -> FargatePlatformConfigurationBuilder
pub fn builder() -> FargatePlatformConfigurationBuilder
Creates a new builder-style object to manufacture FargatePlatformConfiguration
.
Trait Implementations§
source§impl Clone for FargatePlatformConfiguration
impl Clone for FargatePlatformConfiguration
source§fn clone(&self) -> FargatePlatformConfiguration
fn clone(&self) -> FargatePlatformConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FargatePlatformConfiguration
impl Debug for FargatePlatformConfiguration
source§impl PartialEq for FargatePlatformConfiguration
impl PartialEq for FargatePlatformConfiguration
source§fn eq(&self, other: &FargatePlatformConfiguration) -> bool
fn eq(&self, other: &FargatePlatformConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FargatePlatformConfiguration
Auto Trait Implementations§
impl Freeze for FargatePlatformConfiguration
impl RefUnwindSafe for FargatePlatformConfiguration
impl Send for FargatePlatformConfiguration
impl Sync for FargatePlatformConfiguration
impl Unpin for FargatePlatformConfiguration
impl UnwindSafe for FargatePlatformConfiguration
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> 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