@Stability(value=Stable) @Internal public static final class ScheduledFargateTaskImageOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScheduledFargateTaskImageOptions
ScheduledFargateTaskImageOptions
software.amazon.jsii.JsiiObject.InitializationMode
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.
|
protected |
Jsii$Proxy(ScheduledFargateTaskImageOptions.Builder builder)
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()
The command that is passed to the container.
|
Number |
getCpu()
The number of cpu units used by the task.
|
Map<String,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.
|
Number |
getMemoryLimitMiB()
The hard limit (in MiB) of memory to present to the container.
|
Map<String,Secret> |
getSecrets()
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, jsiiStaticSet
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.protected Jsii$Proxy(ScheduledFargateTaskImageOptions.Builder builder)
ScheduledFargateTaskImageOptions.Builder
.public final 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 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 List<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 Map<String,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 Map<String,Secret> getSecrets()
ScheduledTaskImageProps
Default: - No secret environment variables.
getSecrets
in interface ScheduledTaskImageProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2022. All rights reserved.