Class: Aws::ECS::Types::RuntimePlatform

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass RuntimePlatform data as a hash:

{
  cpu_architecture: "X86_64", # accepts X86_64, ARM64
  operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
}

Information about the platform for the Amazon ECS service or task.

For more informataion about `RuntimePlatform`, see

RuntimePlatform][1

in the *Amazon Elastic Container Service

Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_architectureString

The CPU architecture.

You can run your Linux tasks on an ARM-based platform by setting the value to `ARM64`. This option is avaiable for tasks that run on Linuc Amazon EC2 instance or Linux containers on Fargate.

Returns:

  • (String)

8996
8997
8998
8999
9000
9001
# File 'lib/aws-sdk-ecs/types.rb', line 8996

class RuntimePlatform < Struct.new(
  :cpu_architecture,
  :operating_system_family)
  SENSITIVE = []
  include Aws::Structure
end

#operating_system_familyString

The operating system.

Returns:

  • (String)

8996
8997
8998
8999
9000
9001
# File 'lib/aws-sdk-ecs/types.rb', line 8996

class RuntimePlatform < Struct.new(
  :cpu_architecture,
  :operating_system_family)
  SENSITIVE = []
  include Aws::Structure
end