@Generated(value="software.amazon.awssdk:codegen") public final class LinuxParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LinuxParameters.Builder,LinuxParameters>
Linux-specific options that are applied to the container, such as Linux KernelCapabilities.
Modifier and Type | Class and Description |
---|---|
static interface |
LinuxParameters.Builder |
Modifier and Type | Method and Description |
---|---|
static LinuxParameters.Builder |
builder() |
KernelCapabilities |
capabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
|
List<Device> |
devices()
Any host devices to expose to the container.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
initProcessEnabled()
Run an
init process inside the container that forwards signals and reaps processes. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LinuxParameters.Builder> |
serializableBuilderClass() |
Integer |
sharedMemorySize()
The value for the size (in MiB) of the
/dev/shm volume. |
List<Tmpfs> |
tmpfs()
The container path, mount options, and size (in MiB) of the tmpfs mount.
|
LinuxParameters.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public KernelCapabilities capabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
If you are using tasks that use the Fargate launch type, capabilities
is supported but the
add
parameter is not supported.
If you are using tasks that use the Fargate launch type, capabilities
is supported but the
add
parameter is not supported.
public List<Device> devices()
Any host devices to expose to the container. This parameter maps to Devices
in the Create a container section of the
Docker Remote API and the --device
option to
docker run.
If you are using tasks that use the Fargate launch type, the devices
parameter is not supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Devices
in the Create a container section
of the Docker Remote API and the
--device
option to docker
run.
If you are using tasks that use the Fargate launch type, the devices
parameter is not
supported.
public Boolean initProcessEnabled()
Run an init
process inside the container that forwards signals and reaps processes. This parameter
maps to the --init
option to docker run.
This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the
Docker Remote API version on your container instance, log in to your container instance and run the following
command: sudo docker version --format '{{.Server.APIVersion}}'
init
process inside the container that forwards signals and reaps processes. This
parameter maps to the --init
option to docker run. This parameter requires version 1.25
of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on
your container instance, log in to your container instance and run the following command:
sudo docker version --format '{{.Server.APIVersion}}'
public Integer sharedMemorySize()
The value for the size (in MiB) of the /dev/shm
volume. This parameter maps to the
--shm-size
option to docker run.
If you are using tasks that use the Fargate launch type, the sharedMemorySize
parameter is not
supported.
/dev/shm
volume. This parameter maps to the
--shm-size
option to docker
run.
If you are using tasks that use the Fargate launch type, the sharedMemorySize
parameter is
not supported.
public List<Tmpfs> tmpfs()
The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the
--tmpfs
option to docker run.
If you are using tasks that use the Fargate launch type, the tmpfs
parameter is not supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
--tmpfs
option to docker
run.
If you are using tasks that use the Fargate launch type, the tmpfs
parameter is not
supported.
public LinuxParameters.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LinuxParameters.Builder,LinuxParameters>
public static LinuxParameters.Builder builder()
public static Class<? extends LinuxParameters.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.