Package | Description |
---|---|
com.amazonaws.services.ecs.model |
Modifier and Type | Method and Description |
---|---|
ContainerDefinition |
ContainerDefinition.addDockerLabelsEntry(String key,
String value)
Add a single DockerLabels entry
|
ContainerDefinition |
ContainerDefinition.clearDockerLabelsEntries()
Removes all the entries added into DockerLabels.
|
ContainerDefinition |
ContainerDefinition.clone() |
ContainerDefinition |
ContainerDefinition.withCommand(Collection<String> command)
The command that is passed to the container.
|
ContainerDefinition |
ContainerDefinition.withCommand(String... command)
The command that is passed to the container.
|
ContainerDefinition |
ContainerDefinition.withCpu(Integer cpu)
The number of
cpu units reserved for the container. |
ContainerDefinition |
ContainerDefinition.withDependsOn(Collection<ContainerDependency> dependsOn)
The dependencies defined for container startup and shutdown.
|
ContainerDefinition |
ContainerDefinition.withDependsOn(ContainerDependency... dependsOn)
The dependencies defined for container startup and shutdown.
|
ContainerDefinition |
ContainerDefinition.withDisableNetworking(Boolean disableNetworking)
When this parameter is true, networking is disabled within the container.
|
ContainerDefinition |
ContainerDefinition.withDnsSearchDomains(Collection<String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsSearchDomains(String... dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsServers(Collection<String> dnsServers)
A list of DNS servers that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsServers(String... dnsServers)
A list of DNS servers that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDockerLabels(Map<String,String> dockerLabels)
A key/value map of labels to add to the container.
|
ContainerDefinition |
ContainerDefinition.withDockerSecurityOptions(Collection<String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
ContainerDefinition |
ContainerDefinition.withDockerSecurityOptions(String... dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
ContainerDefinition |
ContainerDefinition.withEntryPoint(Collection<String> entryPoint)
|
ContainerDefinition |
ContainerDefinition.withEntryPoint(String... entryPoint)
|
ContainerDefinition |
ContainerDefinition.withEnvironment(Collection<KeyValuePair> environment)
The environment variables to pass to a container.
|
ContainerDefinition |
ContainerDefinition.withEnvironment(KeyValuePair... environment)
The environment variables to pass to a container.
|
ContainerDefinition |
ContainerDefinition.withEnvironmentFiles(Collection<EnvironmentFile> environmentFiles)
A list of files containing the environment variables to pass to a container.
|
ContainerDefinition |
ContainerDefinition.withEnvironmentFiles(EnvironmentFile... environmentFiles)
A list of files containing the environment variables to pass to a container.
|
ContainerDefinition |
ContainerDefinition.withEssential(Boolean essential)
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. |
ContainerDefinition |
ContainerDefinition.withExtraHosts(Collection<HostEntry> extraHosts)
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
ContainerDefinition |
ContainerDefinition.withExtraHosts(HostEntry... extraHosts)
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
ContainerDefinition |
ContainerDefinition.withFirelensConfiguration(FirelensConfiguration firelensConfiguration)
The FireLens configuration for the container.
|
ContainerDefinition |
ContainerDefinition.withHealthCheck(HealthCheck healthCheck)
The container health check command and associated configuration parameters for the container.
|
ContainerDefinition |
ContainerDefinition.withHostname(String hostname)
The hostname to use for your container.
|
ContainerDefinition |
ContainerDefinition.withImage(String image)
The image used to start a container.
|
ContainerDefinition |
ContainerDefinition.withInteractive(Boolean interactive)
When this parameter is
true , this allows you to deploy containerized applications that require
stdin or a tty to be allocated. |
ContainerDefinition |
ContainerDefinition.withLinks(Collection<String> links)
The
links parameter allows containers to communicate with each other without the need for port
mappings. |
ContainerDefinition |
ContainerDefinition.withLinks(String... links)
The
links parameter allows containers to communicate with each other without the need for port
mappings. |
ContainerDefinition |
ContainerDefinition.withLinuxParameters(LinuxParameters linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
ContainerDefinition |
ContainerDefinition.withLogConfiguration(LogConfiguration logConfiguration)
The log configuration specification for the container.
|
ContainerDefinition |
ContainerDefinition.withMemory(Integer memory)
The amount (in MiB) of memory to present to the container.
|
ContainerDefinition |
ContainerDefinition.withMemoryReservation(Integer memoryReservation)
The soft limit (in MiB) of memory to reserve for the container.
|
ContainerDefinition |
ContainerDefinition.withMountPoints(Collection<MountPoint> mountPoints)
The mount points for data volumes in your container.
|
ContainerDefinition |
ContainerDefinition.withMountPoints(MountPoint... mountPoints)
The mount points for data volumes in your container.
|
ContainerDefinition |
ContainerDefinition.withName(String name)
The name of a container.
|
ContainerDefinition |
ContainerDefinition.withPortMappings(Collection<PortMapping> portMappings)
The list of port mappings for the container.
|
ContainerDefinition |
ContainerDefinition.withPortMappings(PortMapping... portMappings)
The list of port mappings for the container.
|
ContainerDefinition |
ContainerDefinition.withPrivileged(Boolean privileged)
When this parameter is true, the container is given elevated privileges on the host container instance (similar
to the
root user). |
ContainerDefinition |
ContainerDefinition.withPseudoTerminal(Boolean pseudoTerminal)
When this parameter is
true , a TTY is allocated. |
ContainerDefinition |
ContainerDefinition.withReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
When this parameter is true, the container is given read-only access to its root file system.
|
ContainerDefinition |
ContainerDefinition.withRepositoryCredentials(RepositoryCredentials repositoryCredentials)
The private repository authentication credentials to use.
|
ContainerDefinition |
ContainerDefinition.withResourceRequirements(Collection<ResourceRequirement> resourceRequirements)
The type and amount of a resource to assign to a container.
|
ContainerDefinition |
ContainerDefinition.withResourceRequirements(ResourceRequirement... resourceRequirements)
The type and amount of a resource to assign to a container.
|
ContainerDefinition |
ContainerDefinition.withSecrets(Collection<Secret> secrets)
The secrets to pass to the container.
|
ContainerDefinition |
ContainerDefinition.withSecrets(Secret... secrets)
The secrets to pass to the container.
|
ContainerDefinition |
ContainerDefinition.withStartTimeout(Integer startTimeout)
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
|
ContainerDefinition |
ContainerDefinition.withStopTimeout(Integer stopTimeout)
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its
own.
|
ContainerDefinition |
ContainerDefinition.withSystemControls(Collection<SystemControl> systemControls)
A list of namespaced kernel parameters to set in the container.
|
ContainerDefinition |
ContainerDefinition.withSystemControls(SystemControl... systemControls)
A list of namespaced kernel parameters to set in the container.
|
ContainerDefinition |
ContainerDefinition.withUlimits(Collection<Ulimit> ulimits)
A list of
ulimits to set in the container. |
ContainerDefinition |
ContainerDefinition.withUlimits(Ulimit... ulimits)
A list of
ulimits to set in the container. |
ContainerDefinition |
ContainerDefinition.withUser(String user)
The user to use inside the container.
|
ContainerDefinition |
ContainerDefinition.withVolumesFrom(Collection<VolumeFrom> volumesFrom)
Data volumes to mount from another container.
|
ContainerDefinition |
ContainerDefinition.withVolumesFrom(VolumeFrom... volumesFrom)
Data volumes to mount from another container.
|
ContainerDefinition |
ContainerDefinition.withWorkingDirectory(String workingDirectory)
The working directory in which to run commands inside the container.
|
Modifier and Type | Method and Description |
---|---|
List<ContainerDefinition> |
TaskDefinition.getContainerDefinitions()
A list of container definitions in JSON format that describe the different containers that make up your task.
|
List<ContainerDefinition> |
RegisterTaskDefinitionRequest.getContainerDefinitions()
A list of container definitions in JSON format that describe the different containers that make up your task.
|
Modifier and Type | Method and Description |
---|---|
TaskDefinition |
TaskDefinition.withContainerDefinitions(ContainerDefinition... containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
RegisterTaskDefinitionRequest |
RegisterTaskDefinitionRequest.withContainerDefinitions(ContainerDefinition... containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskDefinition.setContainerDefinitions(Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
void |
RegisterTaskDefinitionRequest.setContainerDefinitions(Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
TaskDefinition |
TaskDefinition.withContainerDefinitions(Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
RegisterTaskDefinitionRequest |
RegisterTaskDefinitionRequest.withContainerDefinitions(Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the different containers that make up your task.
|
Copyright © 2021. All rights reserved.