@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.889Z") @Stability(value=Experimental) public interface ScheduledFargateTaskImageOptions extends software.amazon.jsii.JsiiSerializable, ScheduledTaskImageProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScheduledFargateTaskImageOptions.Builder
A builder for
ScheduledFargateTaskImageOptions |
static class |
ScheduledFargateTaskImageOptions.Jsii$Proxy
An implementation for
ScheduledFargateTaskImageOptions |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledFargateTaskImageOptions.Builder |
builder() |
default Number |
getCpu()
(experimental) The number of cpu units used by the task.
|
default Number |
getMemoryLimitMiB()
(experimental) The hard limit (in MiB) of memory to present to the container.
|
getCommand, getEnvironment, getImage, getLogDriver, getSecrets@Stability(value=Experimental) @Nullable default Number getCpu()
Valid values, which determines your range of valid values for the memory parameter:
256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB
512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB
1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB
2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments
4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments
This default is set in the underlying FargateTaskDefinition construct.
Default: 256
@Stability(value=Experimental) @Nullable default Number getMemoryLimitMiB()
If your container attempts to exceed the allocated memory, the container is terminated.
Default: 512
@Stability(value=Experimental) static ScheduledFargateTaskImageOptions.Builder builder()
builder in interface ScheduledTaskImagePropsScheduledFargateTaskImageOptions.Builder of ScheduledFargateTaskImageOptionsCopyright © 2021. All rights reserved.