AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The Linux-specific options that are applied to the container, such as Linux KernelCapabilities.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class LinuxParameters
The LinuxParameters type exposes the following members
Name | Description | |
---|---|---|
LinuxParameters() |
Name | Type | Description | |
---|---|---|---|
Capabilities | Amazon.ECS.Model.KernelCapabilities |
Gets and sets the property Capabilities. The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
For tasks that use the Fargate launch type, |
|
Devices | System.Collections.Generic.List<Amazon.ECS.Model.Device> |
Gets and sets the property Devices.
Any host devices to expose to the container. This parameter maps to
If you're using tasks that use the Fargate launch type, the |
|
InitProcessEnabled | System.Boolean |
Gets and sets the property InitProcessEnabled.
Run an |
|
MaxSwap | System.Int32 |
Gets and sets the property MaxSwap.
The total amount of swap memory (in MiB) a container can use. This parameter will
be translated to the
If a
If you're using tasks that use the Fargate launch type, the
If you're using tasks on Amazon Linux 2023 the |
|
SharedMemorySize | System.Int32 |
Gets and sets the property SharedMemorySize.
The value for the size (in MiB) of the
If you are using tasks that use the Fargate launch type, the |
|
Swappiness | System.Int32 |
Gets and sets the property Swappiness.
This allows you to tune a container's memory swappiness behavior. A
If you're using tasks that use the Fargate launch type, the
If you're using tasks on Amazon Linux 2023 the |
|
Tmpfs | System.Collections.Generic.List<Amazon.ECS.Model.Tmpfs> |
Gets and sets the property Tmpfs.
The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter
maps to the
If you're using tasks that use the Fargate launch type, the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5