@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.883Z") @Stability(value=Experimental) public interface QueueProcessingEc2ServiceProps extends software.amazon.jsii.JsiiSerializable, QueueProcessingServiceBaseProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
QueueProcessingEc2ServiceProps.Builder
A builder for
QueueProcessingEc2ServiceProps |
static class |
QueueProcessingEc2ServiceProps.Jsii$Proxy
An implementation for
QueueProcessingEc2ServiceProps |
| Modifier and Type | Method and Description |
|---|---|
static QueueProcessingEc2ServiceProps.Builder |
builder() |
default String |
getContainerName()
(experimental) Optional name for the container added.
|
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.
|
default Number |
getMemoryReservationMiB()
(experimental) The soft limit (in MiB) of memory to reserve for the container.
|
getCircuitBreaker, getCluster, getCommand, getDeploymentController, getEnableECSManagedTags, getEnableLogging, getEnvironment, getFamily, getImage, getLogDriver, getMaxHealthyPercent, getMaxReceiveCount, getMaxScalingCapacity, getMinHealthyPercent, getMinScalingCapacity, getPropagateTags, getQueue, getRetentionPeriod, getScalingSteps, getSecrets, getServiceName, getVpc@Stability(value=Experimental) @Nullable default String getContainerName()
Default: - QueueProcessingContainer
@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: 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 QueueProcessingEc2ServiceProps.Builder builder()
builder in interface QueueProcessingServiceBasePropsQueueProcessingEc2ServiceProps.Builder of QueueProcessingEc2ServicePropsCopyright © 2021. All rights reserved.