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 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 ==
.