Uses of Class
com.amazonaws.services.ecs.model.ContainerDefinition
Packages that use ContainerDefinition
-
Uses of ContainerDefinition in com.amazonaws.services.ecs.model
Methods in com.amazonaws.services.ecs.model that return ContainerDefinitionModifier and TypeMethodDescriptionContainerDefinition.addDockerLabelsEntry
(String key, String value) ContainerDefinition.clearDockerLabelsEntries()
Removes all the entries added into DockerLabels.ContainerDefinition.clone()
ContainerDefinition.withCommand
(String... command) The command that is passed to the container.ContainerDefinition.withCommand
(Collection<String> command) The command that is passed to the container.The number ofcpu
units reserved for the container.ContainerDefinition.withDisableNetworking
(Boolean disableNetworking) When this parameter is true, networking is disabled within the container.ContainerDefinition.withDnsSearchDomains
(String... dnsSearchDomains) A list of DNS search domains that are presented to the container.ContainerDefinition.withDnsSearchDomains
(Collection<String> dnsSearchDomains) A list of DNS search domains that are presented to the container.ContainerDefinition.withDnsServers
(String... dnsServers) A list of DNS servers that are presented to the container.ContainerDefinition.withDnsServers
(Collection<String> dnsServers) A list of DNS servers that are presented to the container.ContainerDefinition.withDockerLabels
(Map<String, String> dockerLabels) A key/value map of labels to add to the container.ContainerDefinition.withDockerSecurityOptions
(String... dockerSecurityOptions) A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.ContainerDefinition.withDockerSecurityOptions
(Collection<String> dockerSecurityOptions) A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.ContainerDefinition.withEntryPoint
(String... entryPoint) ContainerDefinition.withEntryPoint
(Collection<String> entryPoint) ContainerDefinition.withEnvironment
(KeyValuePair... environment) The environment variables to pass to a container.ContainerDefinition.withEnvironment
(Collection<KeyValuePair> environment) The environment variables to pass to a container.ContainerDefinition.withEssential
(Boolean essential) If theessential
parameter of a container is marked astrue
, and that container fails or stops for any reason, all other containers that are part of the task are stopped.ContainerDefinition.withExtraHosts
(HostEntry... extraHosts) A list of hostnames and IP address mappings to append to the/etc/hosts
file on the container.ContainerDefinition.withExtraHosts
(Collection<HostEntry> extraHosts) A list of hostnames and IP address mappings to append to the/etc/hosts
file on the container.ContainerDefinition.withHostname
(String hostname) The hostname to use for your container.The image used to start a container.Thelink
parameter allows containers to communicate with each other without the need for port mappings, using thename
parameter and optionally, analias
for the link.ContainerDefinition.withLinks
(Collection<String> links) Thelink
parameter allows containers to communicate with each other without the need for port mappings, using thename
parameter and optionally, analias
for the link.ContainerDefinition.withLogConfiguration
(LogConfiguration logConfiguration) The log configuration specification for the container.ContainerDefinition.withMemory
(Integer memory) The number of MiB of memory to reserve for the container.ContainerDefinition.withMountPoints
(MountPoint... mountPoints) The mount points for data volumes in your container.ContainerDefinition.withMountPoints
(Collection<MountPoint> mountPoints) The mount points for data volumes in your container.The name of a container.ContainerDefinition.withPortMappings
(PortMapping... portMappings) The list of port mappings for the container.ContainerDefinition.withPortMappings
(Collection<PortMapping> portMappings) The list of port mappings for the container.ContainerDefinition.withPrivileged
(Boolean privileged) When this parameter is true, the container is given elevated privileges on the host container instance (similar to theroot
user).ContainerDefinition.withReadonlyRootFilesystem
(Boolean readonlyRootFilesystem) When this parameter is true, the container is given read-only access to its root file system.ContainerDefinition.withUlimits
(Ulimit... ulimits) A list ofulimits
to set in the container.ContainerDefinition.withUlimits
(Collection<Ulimit> ulimits) A list ofulimits
to set in the container.The user name to use inside the container.ContainerDefinition.withVolumesFrom
(VolumeFrom... volumesFrom) Data volumes to mount from another container.ContainerDefinition.withVolumesFrom
(Collection<VolumeFrom> volumesFrom) Data volumes to mount from another container.ContainerDefinition.withWorkingDirectory
(String workingDirectory) The working directory in which to run commands inside the container.Methods in com.amazonaws.services.ecs.model that return types with arguments of type ContainerDefinitionModifier and TypeMethodDescriptionRegisterTaskDefinitionRequest.getContainerDefinitions()
A list of container definitions in JSON format that describe the different containers that make up your task.TaskDefinition.getContainerDefinitions()
A list of container definitions in JSON format that describe the different containers that make up your task.Methods in com.amazonaws.services.ecs.model with parameters of type ContainerDefinitionModifier and TypeMethodDescriptionRegisterTaskDefinitionRequest.withContainerDefinitions
(ContainerDefinition... containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.TaskDefinition.withContainerDefinitions
(ContainerDefinition... containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.Method parameters in com.amazonaws.services.ecs.model with type arguments of type ContainerDefinitionModifier and TypeMethodDescriptionvoid
RegisterTaskDefinitionRequest.setContainerDefinitions
(Collection<ContainerDefinition> containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.void
TaskDefinition.setContainerDefinitions
(Collection<ContainerDefinition> containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.RegisterTaskDefinitionRequest.withContainerDefinitions
(Collection<ContainerDefinition> containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.TaskDefinition.withContainerDefinitions
(Collection<ContainerDefinition> containerDefinitions) A list of container definitions in JSON format that describe the different containers that make up your task.