@Stability(value=Stable) @Internal public static final class FirelensLogRouterDefinitionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FirelensLogRouterDefinitionOptions
FirelensLogRouterDefinitionOptions
software.amazon.jsii.JsiiObject.InitializationMode
FirelensLogRouterDefinitionOptions.Builder, FirelensLogRouterDefinitionOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(FirelensConfig firelensConfig,
ContainerImage image,
List<String> command,
Number cpu,
Boolean disableNetworking,
List<String> dnsSearchDomains,
List<String> dnsServers,
Map<String,String> dockerLabels,
List<String> dockerSecurityOptions,
List<String> entryPoint,
Map<String,String> environment,
Boolean essential,
Map<String,String> extraHosts,
Number gpuCount,
HealthCheck healthCheck,
String hostname,
LinuxParameters linuxParameters,
LogDriver logging,
Number memoryLimitMiB,
Number memoryReservationMiB,
Boolean privileged,
Boolean readonlyRootFilesystem,
Map<String,? extends Secret> secrets,
Duration startTimeout,
Duration stopTimeout,
String user,
String workingDirectory)
Constructor that initializes the object based on literal property values passed by the
FirelensLogRouterDefinitionOptions.Builder . |
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(Object o) |
List<String> |
getCommand()
The command that is passed to the container.
|
Number |
getCpu()
The minimum number of CPU units to reserve for the container.
|
Boolean |
getDisableNetworking()
Specifies whether networking is disabled within the container.
|
List<String> |
getDnsSearchDomains()
A list of DNS search domains that are presented to the container.
|
List<String> |
getDnsServers()
A list of DNS servers that are presented to the container.
|
Map<String,String> |
getDockerLabels()
A key/value map of labels to add to the container.
|
List<String> |
getDockerSecurityOptions()
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
List<String> |
getEntryPoint()
The ENTRYPOINT value to pass to the container.
|
Map<String,String> |
getEnvironment()
The environment variables to pass to the container.
|
Boolean |
getEssential()
Specifies whether the container is marked essential.
|
Map<String,String> |
getExtraHosts()
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
FirelensConfig |
getFirelensConfig()
Firelens configuration.
|
Number |
getGpuCount()
The number of GPUs assigned to the container.
|
HealthCheck |
getHealthCheck()
The health check command and associated configuration parameters for the container.
|
String |
getHostname()
The hostname to use for your container.
|
ContainerImage |
getImage()
The image used to start a container.
|
LinuxParameters |
getLinuxParameters()
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
LogDriver |
getLogging()
The log configuration specification for the container.
|
Number |
getMemoryLimitMiB()
The amount (in MiB) of memory to present to the container.
|
Number |
getMemoryReservationMiB()
The soft limit (in MiB) of memory to reserve for the container.
|
Boolean |
getPrivileged()
Specifies whether the container is marked as privileged.
|
Boolean |
getReadonlyRootFilesystem()
When this parameter is true, the container is given read-only access to its root file system.
|
Map<String,Secret> |
getSecrets()
The secret environment variables to pass to the container.
|
Duration |
getStartTimeout()
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
|
Duration |
getStopTimeout()
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
|
String |
getUser()
The user name to use inside the container.
|
String |
getWorkingDirectory()
The working directory in which to run commands inside the container.
|
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(FirelensConfig firelensConfig, ContainerImage image, List<String> command, Number cpu, Boolean disableNetworking, List<String> dnsSearchDomains, List<String> dnsServers, Map<String,String> dockerLabels, List<String> dockerSecurityOptions, List<String> entryPoint, Map<String,String> environment, Boolean essential, Map<String,String> extraHosts, Number gpuCount, HealthCheck healthCheck, String hostname, LinuxParameters linuxParameters, LogDriver logging, Number memoryLimitMiB, Number memoryReservationMiB, Boolean privileged, Boolean readonlyRootFilesystem, Map<String,? extends Secret> secrets, Duration startTimeout, Duration stopTimeout, String user, String workingDirectory)
FirelensLogRouterDefinitionOptions.Builder
.public final FirelensConfig getFirelensConfig()
FirelensLogRouterDefinitionOptions
getFirelensConfig
in interface FirelensLogRouterDefinitionOptions
public final ContainerImage getImage()
ContainerDefinitionOptions
This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest. TODO: Update these to specify using classes of IContainerImage
getImage
in interface ContainerDefinitionOptions
public final List<String> getCommand()
ContainerDefinitionOptions
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 ContainerDefinitionOptions
public final Number getCpu()
ContainerDefinitionOptions
Default: - No minimum CPU units reserved.
getCpu
in interface ContainerDefinitionOptions
public final Boolean getDisableNetworking()
ContainerDefinitionOptions
When this parameter is true, networking is disabled within the container.
Default: false
getDisableNetworking
in interface ContainerDefinitionOptions
public final List<String> getDnsSearchDomains()
ContainerDefinitionOptions
Default: - No search domains.
getDnsSearchDomains
in interface ContainerDefinitionOptions
public final List<String> getDnsServers()
ContainerDefinitionOptions
Default: - Default DNS servers.
getDnsServers
in interface ContainerDefinitionOptions
public final Map<String,String> getDockerLabels()
ContainerDefinitionOptions
Default: - No labels.
getDockerLabels
in interface ContainerDefinitionOptions
public final List<String> getDockerSecurityOptions()
ContainerDefinitionOptions
Default: - No security labels.
getDockerSecurityOptions
in interface ContainerDefinitionOptions
public final List<String> getEntryPoint()
ContainerDefinitionOptions
Default: - Entry point configured in container.
getEntryPoint
in interface ContainerDefinitionOptions
https://docs.docker.com/engine/reference/builder/#entrypoint
public final Map<String,String> getEnvironment()
ContainerDefinitionOptions
Default: - No environment variables.
getEnvironment
in interface ContainerDefinitionOptions
public final Boolean getEssential()
ContainerDefinitionOptions
If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, then its failure does not affect the rest of the containers in a task. All tasks must have at least one essential container.
If this parameter is omitted, a container is assumed to be essential.
Default: true
getEssential
in interface ContainerDefinitionOptions
public final Map<String,String> getExtraHosts()
ContainerDefinitionOptions
Default: - No extra hosts.
getExtraHosts
in interface ContainerDefinitionOptions
public final Number getGpuCount()
ContainerDefinitionOptions
Default: - No GPUs assigned.
getGpuCount
in interface ContainerDefinitionOptions
public final HealthCheck getHealthCheck()
ContainerDefinitionOptions
Default: - Health check configuration from container.
getHealthCheck
in interface ContainerDefinitionOptions
public final String getHostname()
ContainerDefinitionOptions
Default: - Automatic hostname.
getHostname
in interface ContainerDefinitionOptions
public final LinuxParameters getLinuxParameters()
ContainerDefinitionOptions
For more information see KernelCapabilities.
Default: - No Linux parameters.
getLinuxParameters
in interface ContainerDefinitionOptions
public final LogDriver getLogging()
ContainerDefinitionOptions
Default: - Containers use the same logging driver that the Docker daemon uses.
getLogging
in interface ContainerDefinitionOptions
public final Number getMemoryLimitMiB()
ContainerDefinitionOptions
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.
getMemoryLimitMiB
in interface ContainerDefinitionOptions
public final Number getMemoryReservationMiB()
ContainerDefinitionOptions
When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), 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.
getMemoryReservationMiB
in interface ContainerDefinitionOptions
public final Boolean getPrivileged()
ContainerDefinitionOptions
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
Default: false
getPrivileged
in interface ContainerDefinitionOptions
public final Boolean getReadonlyRootFilesystem()
ContainerDefinitionOptions
Default: false
getReadonlyRootFilesystem
in interface ContainerDefinitionOptions
public final Map<String,Secret> getSecrets()
ContainerDefinitionOptions
Default: - No secret environment variables.
getSecrets
in interface ContainerDefinitionOptions
public final Duration getStartTimeout()
ContainerDefinitionOptions
Default: - none
getStartTimeout
in interface ContainerDefinitionOptions
public final Duration getStopTimeout()
ContainerDefinitionOptions
Default: - none
getStopTimeout
in interface ContainerDefinitionOptions
public final String getUser()
ContainerDefinitionOptions
Default: root
getUser
in interface ContainerDefinitionOptions
public final String getWorkingDirectory()
ContainerDefinitionOptions
Default: /
getWorkingDirectory
in interface ContainerDefinitionOptions
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.