public static final class ScheduledFargateTaskImageOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScheduledFargateTaskImageOptions
ScheduledFargateTaskImageOptions
ScheduledFargateTaskImageOptions.Builder, ScheduledFargateTaskImageOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.List<java.lang.String> |
getCommand()
The command that is passed to the container.
|
java.lang.Number |
getCpu()
The number of cpu units used by the task.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
The environment variables to pass to the container.
|
ContainerImage |
getImage()
The image used to start a container.
|
LogDriver |
getLogDriver()
The log driver to use.
|
java.lang.Number |
getMemoryLimitMiB()
The hard limit (in MiB) of memory to present to the container.
|
java.util.Map<java.lang.String,Secret> |
getSecrets()
The secret to expose to the container as an environment variable.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getCpu()
ScheduledFargateTaskImageOptions
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
getCpu
in interface ScheduledFargateTaskImageOptions
public final java.lang.Number getMemoryLimitMiB()
ScheduledFargateTaskImageOptions
If your container attempts to exceed the allocated memory, the container is terminated.
Default: 512
getMemoryLimitMiB
in interface ScheduledFargateTaskImageOptions
public final ContainerImage getImage()
ScheduledTaskImageProps
Image or taskDefinition must be specified, but not both.
Default: - none
getImage
in interface ScheduledTaskImageProps
public final java.util.List<java.lang.String> getCommand()
ScheduledTaskImageProps
If you provide a shell command as a single string, you have to quote command-line arguments.
Default: - CMD value built into container image.
getCommand
in interface ScheduledTaskImageProps
public final java.util.Map<java.lang.String,java.lang.String> getEnvironment()
ScheduledTaskImageProps
Default: none
getEnvironment
in interface ScheduledTaskImageProps
public final LogDriver getLogDriver()
ScheduledTaskImageProps
Default: - AwsLogDriver if enableLogging is true
getLogDriver
in interface ScheduledTaskImageProps
public final java.util.Map<java.lang.String,Secret> getSecrets()
ScheduledTaskImageProps
Default: - No secret environment variables.
getSecrets
in interface ScheduledTaskImageProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()