@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.888Z") @Stability(value=Experimental) public interface ScheduledEc2TaskImageOptions extends software.amazon.jsii.JsiiSerializable, ScheduledTaskImageProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScheduledEc2TaskImageOptions.Builder
A builder for
ScheduledEc2TaskImageOptions |
static class |
ScheduledEc2TaskImageOptions.Jsii$Proxy
An implementation for
ScheduledEc2TaskImageOptions |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledEc2TaskImageOptions.Builder |
builder() |
default Number |
getCpu()
(experimental) The minimum number of CPU units to reserve for the container.
|
default Number |
getMemoryLimitMiB()
(experimental) The hard limit (in MiB) of memory to present to the container.
|
default Number |
getMemoryReservationMiB()
(experimental) The soft limit (in MiB) of memory to reserve for the container.
|
getCommand, getEnvironment, getImage, getLogDriver, getSecrets@Stability(value=Experimental) @Nullable default Number getCpu()
Default: none
@Stability(value=Experimental) @Nullable default Number getMemoryLimitMiB()
If your container attempts to exceed the allocated memory, the container is terminated.
At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
Default: - No memory limit.
@Stability(value=Experimental) @Nullable default Number getMemoryReservationMiB()
When system memory is under contention, Docker attempts to keep the container memory within the limit. If the container requires more memory, it can consume up to the value specified by the Memory property or all of the available memory on the container instance—whichever comes first.
At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
Default: - No memory reserved.
@Stability(value=Experimental) static ScheduledEc2TaskImageOptions.Builder builder()
builder in interface ScheduledTaskImagePropsScheduledEc2TaskImageOptions.Builder of ScheduledEc2TaskImageOptionsCopyright © 2021. All rights reserved.