Package | Description |
---|---|
com.amazonaws.services.ecs.model | |
com.amazonaws.services.ecs.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ContainerDefinition> |
TaskDefinition.containerDefinitions
A list of container definitions in JSON format that describe the
different containers that make up your task.
|
private SdkInternalList<ContainerDefinition> |
RegisterTaskDefinitionRequest.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 |
---|---|
ContainerDefinition |
ContainerDefinition.addDockerLabelsEntry(java.lang.String key,
java.lang.String value) |
ContainerDefinition |
ContainerDefinition.clearDockerLabelsEntries()
Removes all the entries added into DockerLabels.
|
ContainerDefinition |
ContainerDefinition.clone() |
ContainerDefinition |
ContainerDefinition.withCommand(java.util.Collection<java.lang.String> command)
The command that is passed to the container.
|
ContainerDefinition |
ContainerDefinition.withCommand(java.lang.String... command)
The command that is passed to the container.
|
ContainerDefinition |
ContainerDefinition.withCpu(java.lang.Integer cpu)
The number of
cpu units reserved for the container. |
ContainerDefinition |
ContainerDefinition.withDisableNetworking(java.lang.Boolean disableNetworking)
When this parameter is true, networking is disabled within the container.
|
ContainerDefinition |
ContainerDefinition.withDnsSearchDomains(java.util.Collection<java.lang.String> dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsSearchDomains(java.lang.String... dnsSearchDomains)
A list of DNS search domains that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsServers(java.util.Collection<java.lang.String> dnsServers)
A list of DNS servers that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDnsServers(java.lang.String... dnsServers)
A list of DNS servers that are presented to the container.
|
ContainerDefinition |
ContainerDefinition.withDockerLabels(java.util.Map<java.lang.String,java.lang.String> dockerLabels)
A key/value map of labels to add to the container.
|
ContainerDefinition |
ContainerDefinition.withDockerSecurityOptions(java.util.Collection<java.lang.String> dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor
multi-level security systems.
|
ContainerDefinition |
ContainerDefinition.withDockerSecurityOptions(java.lang.String... dockerSecurityOptions)
A list of strings to provide custom labels for SELinux and AppArmor
multi-level security systems.
|
ContainerDefinition |
ContainerDefinition.withEntryPoint(java.util.Collection<java.lang.String> entryPoint)
|
ContainerDefinition |
ContainerDefinition.withEntryPoint(java.lang.String... entryPoint)
|
ContainerDefinition |
ContainerDefinition.withEnvironment(java.util.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(java.lang.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(java.util.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(java.lang.String hostname)
The hostname to use for your container.
|
ContainerDefinition |
ContainerDefinition.withImage(java.lang.String image)
The image used to start a container.
|
ContainerDefinition |
ContainerDefinition.withLinks(java.util.Collection<java.lang.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(java.lang.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(java.lang.Integer memory)
The number of MiB of memory to reserve for the container.
|
ContainerDefinition |
ContainerDefinition.withMountPoints(java.util.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(java.lang.String name)
The name of a container.
|
ContainerDefinition |
ContainerDefinition.withPortMappings(java.util.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(java.lang.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(java.lang.Boolean readonlyRootFilesystem)
When this parameter is true, the container is given read-only access to
its root file system.
|
ContainerDefinition |
ContainerDefinition.withUlimits(java.util.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(java.lang.String user)
The user name to use inside the container.
|
ContainerDefinition |
ContainerDefinition.withVolumesFrom(java.util.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(java.lang.String workingDirectory)
The working directory in which to run commands inside the container.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ContainerDefinition> |
TaskDefinition.getContainerDefinitions()
A list of container definitions in JSON format that describe the
different containers that make up your task.
|
java.util.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(java.util.Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the
different containers that make up your task.
|
void |
RegisterTaskDefinitionRequest.setContainerDefinitions(java.util.Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the
different containers that make up your task.
|
TaskDefinition |
TaskDefinition.withContainerDefinitions(java.util.Collection<ContainerDefinition> containerDefinitions)
A list of container definitions in JSON format that describe the
different containers that make up your task.
|
RegisterTaskDefinitionRequest |
RegisterTaskDefinitionRequest.withContainerDefinitions(java.util.Collection<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 |
---|---|
ContainerDefinition |
ContainerDefinitionJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ContainerDefinitionJsonMarshaller.marshall(ContainerDefinition containerDefinition,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|