@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:42.665Z") @Stability(value=Experimental) public interface ContainerOverride extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContainerOverride.Builder
A builder for
ContainerOverride |
static class |
ContainerOverride.Jsii$Proxy
An implementation for
ContainerOverride |
| Modifier and Type | Method and Description |
|---|---|
static ContainerOverride.Builder |
builder() |
default List<String> |
getCommand()
(experimental) Command to run inside the container.
|
ContainerDefinition |
getContainerDefinition()
(experimental) Name of the container inside the task definition.
|
default Number |
getCpu()
(experimental) The number of cpu units reserved for the container.
|
default List<TaskEnvironmentVariable> |
getEnvironment()
(experimental) The environment variables to send to the container.
|
default Number |
getMemoryLimit()
(experimental) The hard limit (in MiB) of memory to present to the container.
|
default Number |
getMemoryReservation()
(experimental) The soft limit (in MiB) of memory to reserve for the container.
|
@Stability(value=Experimental) @NotNull ContainerDefinition getContainerDefinition()
@Stability(value=Experimental) @Nullable default List<String> getCommand()
Default: - Default command from the Docker image or the task definition
@Stability(value=Experimental) @Nullable default Number getCpu()
Default: - The default value from the task definition.
@Stability(value=Experimental) @Nullable default List<TaskEnvironmentVariable> getEnvironment()
You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
Default: - The existing environment variables from the Docker image or the task definition
@Stability(value=Experimental) @Nullable default Number getMemoryLimit()
Default: - The default value from the task definition.
@Stability(value=Experimental) @Nullable default Number getMemoryReservation()
Default: - The default value from the task definition.
@Stability(value=Experimental) static ContainerOverride.Builder builder()
ContainerOverride.Builder of ContainerOverrideCopyright © 2021. All rights reserved.