public static interface LinuxParameters.Builder extends SdkPojo, CopyableBuilder<LinuxParameters.Builder,LinuxParameters>
| Modifier and Type | Method and Description |
|---|---|
default LinuxParameters.Builder |
capabilities(Consumer<KernelCapabilities.Builder> capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided
by Docker.
|
LinuxParameters.Builder |
capabilities(KernelCapabilities capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided
by Docker.
|
LinuxParameters.Builder |
devices(Collection<Device> devices)
Any host devices to expose to the container.
|
LinuxParameters.Builder |
devices(Consumer<Device.Builder>... devices)
Any host devices to expose to the container.
|
LinuxParameters.Builder |
devices(Device... devices)
Any host devices to expose to the container.
|
LinuxParameters.Builder |
initProcessEnabled(Boolean initProcessEnabled)
Run an
init process inside the container that forwards signals and reaps processes. |
LinuxParameters.Builder |
sharedMemorySize(Integer sharedMemorySize)
The value for the size (in MiB) of the
/dev/shm volume. |
LinuxParameters.Builder |
tmpfs(Collection<Tmpfs> tmpfs)
The container path, mount options, and size (in MiB) of the tmpfs mount.
|
LinuxParameters.Builder |
tmpfs(Consumer<Tmpfs.Builder>... tmpfs)
The container path, mount options, and size (in MiB) of the tmpfs mount.
|
LinuxParameters.Builder |
tmpfs(Tmpfs... tmpfs)
The container path, mount options, and size (in MiB) of the tmpfs mount.
|
copyapplyMutation, buildLinuxParameters.Builder capabilities(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.
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.
default LinuxParameters.Builder capabilities(Consumer<KernelCapabilities.Builder> 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.
KernelCapabilities.Builder avoiding the
need to create one manually via KernelCapabilities.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to capabilities(KernelCapabilities).capabilities - a consumer that will call methods on KernelCapabilities.Buildercapabilities(KernelCapabilities)LinuxParameters.Builder devices(Collection<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.
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.
LinuxParameters.Builder devices(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.
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.
LinuxParameters.Builder devices(Consumer<Device.Builder>... 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.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #devices(List) .devices - a consumer that will call methods on List.Builder #devices(List) LinuxParameters.Builder initProcessEnabled(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}}'
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}}'LinuxParameters.Builder sharedMemorySize(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.
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.
LinuxParameters.Builder tmpfs(Collection<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.
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.
LinuxParameters.Builder tmpfs(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.
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.
LinuxParameters.Builder tmpfs(Consumer<Tmpfs.Builder>... 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.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tmpfs(List) .tmpfs - a consumer that will call methods on List.Builder #tmpfs(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.