AWS::ECS::TaskDefinition RuntimePlatform
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CpuArchitecture" :
String
, "OperatingSystemFamily" :String
}
YAML
CpuArchitecture:
String
OperatingSystemFamily:String
Properties
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.The default is
X86_64
.Required: No
Type: String
Allowed values:
X86_64 | ARM64
Update requires: Replacement
OperatingSystemFamily
-
The operating system.
The default is
Linux
.Required: No
Type: String
Allowed values:
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
Update requires: Replacement