@Stability(value=Experimental) @Internal public static final class ScheduledFargateTaskImageOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScheduledFargateTaskImageOptions
ScheduledFargateTaskImageOptionssoftware.amazon.jsii.JsiiObject.InitializationModeScheduledFargateTaskImageOptions.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.
|
protected |
Jsii$Proxy(Number cpu,
Number memoryLimitMiB,
ContainerImage image,
List<String> command,
Map<String,String> environment,
LogDriver logDriver,
Map<String,? extends Secret> secrets)
Constructor that initializes the object based on literal property values passed by the
ScheduledFargateTaskImageOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
(experimental) The command that is passed to the container.
|
Number |
getCpu()
(experimental) The number of cpu units used by the task.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to pass to the container.
|
ContainerImage |
getImage()
(experimental) The image used to start a container.
|
LogDriver |
getLogDriver()
(experimental) The log driver to use.
|
Number |
getMemoryLimitMiB()
(experimental) The hard limit (in MiB) of memory to present to the container.
|
Map<String,Secret> |
getSecrets()
(experimental) The secret to expose to the container as an environment variable.
|
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(Number cpu, Number memoryLimitMiB, ContainerImage image, List<String> command, Map<String,String> environment, LogDriver logDriver, Map<String,? extends Secret> secrets)
ScheduledFargateTaskImageOptions.Builder.public final Number getCpu()
ScheduledFargateTaskImageOptionsValid 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 ScheduledFargateTaskImageOptionspublic final Number getMemoryLimitMiB()
ScheduledFargateTaskImageOptionsIf your container attempts to exceed the allocated memory, the container is terminated.
Default: 512
getMemoryLimitMiB in interface ScheduledFargateTaskImageOptionspublic final ContainerImage getImage()
ScheduledTaskImagePropsImage or taskDefinition must be specified, but not both.
Default: - none
getImage in interface ScheduledTaskImagePropspublic final List<String> getCommand()
ScheduledTaskImagePropsIf 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 ScheduledTaskImagePropspublic final Map<String,String> getEnvironment()
ScheduledTaskImagePropsDefault: none
getEnvironment in interface ScheduledTaskImagePropspublic final LogDriver getLogDriver()
ScheduledTaskImagePropsDefault: - AwsLogDriver if enableLogging is true
getLogDriver in interface ScheduledTaskImagePropspublic final Map<String,Secret> getSecrets()
ScheduledTaskImagePropsDefault: - No secret environment variables.
getSecrets in interface ScheduledTaskImageProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.