amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.RuntimePlatform

Description

 
Synopsis

Documentation

data RuntimePlatform Source #

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.

See: newRuntimePlatform smart constructor.

Constructors

RuntimePlatform' 

Fields

Instances

Instances details
FromJSON RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

ToJSON RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

Generic RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

Associated Types

type Rep RuntimePlatform :: Type -> Type #

Read RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

Show RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

NFData RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

Methods

rnf :: RuntimePlatform -> () #

Eq RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

Hashable RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

type Rep RuntimePlatform Source # 
Instance details

Defined in Amazonka.ECS.Types.RuntimePlatform

type Rep RuntimePlatform = D1 ('MetaData "RuntimePlatform" "Amazonka.ECS.Types.RuntimePlatform" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "RuntimePlatform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cpuArchitecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CPUArchitecture)) :*: S1 ('MetaSel ('Just "operatingSystemFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OSFamily))))

newRuntimePlatform :: RuntimePlatform Source #

Create a value of RuntimePlatform with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cpuArchitecture:RuntimePlatform', runtimePlatform_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.

$sel:operatingSystemFamily:RuntimePlatform', runtimePlatform_operatingSystemFamily - The operating system.

runtimePlatform_cpuArchitecture :: Lens' RuntimePlatform (Maybe CPUArchitecture) Source #

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.