@Stability(value=Experimental) @Internal public static final class ContainerOverride.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverride
ContainerOverridesoftware.amazon.jsii.JsiiObject.InitializationModeContainerOverride.Builder, ContainerOverride.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ContainerDefinition containerDefinition,
List<String> command,
Number cpu,
List<? extends TaskEnvironmentVariable> environment,
Number memoryLimit,
Number memoryReservation)
Constructor that initializes the object based on literal property values passed by the
ContainerOverride.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
(experimental) Command to run inside the container.
|
ContainerDefinition |
getContainerDefinition()
(experimental) Name of the container inside the task definition.
|
Number |
getCpu()
(experimental) The number of cpu units reserved for the container.
|
List<TaskEnvironmentVariable> |
getEnvironment()
(experimental) The environment variables to send to the container.
|
Number |
getMemoryLimit()
(experimental) The hard limit (in MiB) of memory to present to the container.
|
Number |
getMemoryReservation()
(experimental) The soft limit (in MiB) of memory to reserve for the container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ContainerDefinition containerDefinition, List<String> command, Number cpu, List<? extends TaskEnvironmentVariable> environment, Number memoryLimit, Number memoryReservation)
ContainerOverride.Builder.public final ContainerDefinition getContainerDefinition()
ContainerOverridegetContainerDefinition in interface ContainerOverridepublic final List<String> getCommand()
ContainerOverrideDefault: - Default command from the Docker image or the task definition
getCommand in interface ContainerOverridepublic final Number getCpu()
ContainerOverrideDefault: - The default value from the task definition.
getCpu in interface ContainerOverridepublic final List<TaskEnvironmentVariable> getEnvironment()
ContainerOverrideYou 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
getEnvironment in interface ContainerOverridepublic final Number getMemoryLimit()
ContainerOverrideDefault: - The default value from the task definition.
getMemoryLimit in interface ContainerOverridepublic final Number getMemoryReservation()
ContainerOverrideDefault: - The default value from the task definition.
getMemoryReservation in interface ContainerOverride@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.