Package | Description |
---|---|
com.amazonaws.services.ecs.model |
Modifier and Type | Method and Description |
---|---|
ContainerDefinition |
ContainerDefinition.addDockerLabelsEntry(String key,
String value) |
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.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.withEssential(Boolean essential)
If the
essential parameter of a container is marked as
true , the failure of that container stops the task. |
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.withHostname(String hostname)
The hostname to use for your container.
|
ContainerDefinition |
ContainerDefinition.withImage(String image)
The image used to start a container.
|
ContainerDefinition |
ContainerDefinition.withLinks(Collection<String> links)
The
link parameter allows containers to communicate with
each other without the need for port mappings, using the
name parameter and optionally, an alias for the
link. |
ContainerDefinition |
ContainerDefinition.withLinks(String... links)
The
link parameter allows containers to communicate with
each other without the need for port mappings, using the
name parameter and optionally, an alias for the
link. |
ContainerDefinition |
ContainerDefinition.withLogConfiguration(LogConfiguration logConfiguration)
The log configuration specification for the container.
|
ContainerDefinition |
ContainerDefinition.withMemory(Integer memory)
The number of 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.withReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
When this parameter is true, the container is given read-only access to
its root file system.
|
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 name 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 © 2016. All rights reserved.