static ContainerDefinition.Builder |
ContainerDefinition.builder() |
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.command(String... command) |
The command that's passed to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.command(Collection<String> command) |
The command that's passed to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.cpu(Integer cpu) |
The number of cpu units reserved for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.credentialSpecs(String... credentialSpecs) |
A list of ARNs in SSM or Amazon S3 to a credential spec (CredSpec) file that configures the
container for Active Directory authentication.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.credentialSpecs(Collection<String> credentialSpecs) |
A list of ARNs in SSM or Amazon S3 to a credential spec (CredSpec) file that configures the
container for Active Directory authentication.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dependsOn(Collection<ContainerDependency> dependsOn) |
The dependencies defined for container startup and shutdown.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dependsOn(Consumer<ContainerDependency.Builder>... dependsOn) |
The dependencies defined for container startup and shutdown.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dependsOn(ContainerDependency... dependsOn) |
The dependencies defined for container startup and shutdown.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.disableNetworking(Boolean disableNetworking) |
When this parameter is true, networking is off within the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dnsSearchDomains(String... dnsSearchDomains) |
A list of DNS search domains that are presented to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dnsSearchDomains(Collection<String> dnsSearchDomains) |
A list of DNS search domains that are presented to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dnsServers(String... dnsServers) |
A list of DNS servers that are presented to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dnsServers(Collection<String> dnsServers) |
A list of DNS servers that are presented to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dockerLabels(Map<String,String> dockerLabels) |
A key/value map of labels to add to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dockerSecurityOptions(String... dockerSecurityOptions) |
A list of strings to provide custom configuration for multiple security systems.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.dockerSecurityOptions(Collection<String> dockerSecurityOptions) |
A list of strings to provide custom configuration for multiple security systems.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.entryPoint(String... entryPoint) |
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.entryPoint(Collection<String> entryPoint) |
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environment(Collection<KeyValuePair> environment) |
The environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environment(Consumer<KeyValuePair.Builder>... environment) |
The environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environment(KeyValuePair... environment) |
The environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environmentFiles(Collection<EnvironmentFile> environmentFiles) |
A list of files containing the environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environmentFiles(Consumer<EnvironmentFile.Builder>... environmentFiles) |
A list of files containing the environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.environmentFiles(EnvironmentFile... environmentFiles) |
A list of files containing the environment variables to pass to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.essential(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.Builder |
ContainerDefinition.Builder.extraHosts(Collection<HostEntry> extraHosts) |
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.extraHosts(Consumer<HostEntry.Builder>... extraHosts) |
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.extraHosts(HostEntry... extraHosts) |
A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
default ContainerDefinition.Builder |
ContainerDefinition.Builder.firelensConfiguration(Consumer<FirelensConfiguration.Builder> firelensConfiguration) |
The FireLens configuration for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.firelensConfiguration(FirelensConfiguration firelensConfiguration) |
The FireLens configuration for the container.
|
default ContainerDefinition.Builder |
ContainerDefinition.Builder.healthCheck(Consumer<HealthCheck.Builder> healthCheck) |
The container health check command and associated configuration parameters for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.healthCheck(HealthCheck healthCheck) |
The container health check command and associated configuration parameters for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.hostname(String hostname) |
The hostname to use for your container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.image(String image) |
The image used to start a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.interactive(Boolean interactive) |
When this parameter is true, you can deploy containerized applications that require
stdin or a tty to be allocated.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.links(String... links) |
The links parameter allows containers to communicate with each other without the need for port
mappings.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.links(Collection<String> links) |
The links parameter allows containers to communicate with each other without the need for port
mappings.
|
default ContainerDefinition.Builder |
ContainerDefinition.Builder.linuxParameters(Consumer<LinuxParameters.Builder> linuxParameters) |
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.linuxParameters(LinuxParameters linuxParameters) |
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
default ContainerDefinition.Builder |
ContainerDefinition.Builder.logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) |
The log configuration specification for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.logConfiguration(LogConfiguration logConfiguration) |
The log configuration specification for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.memory(Integer memory) |
The amount (in MiB) of memory to present to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.memoryReservation(Integer memoryReservation) |
The soft limit (in MiB) of memory to reserve for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.mountPoints(Collection<MountPoint> mountPoints) |
The mount points for data volumes in your container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.mountPoints(Consumer<MountPoint.Builder>... mountPoints) |
The mount points for data volumes in your container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.mountPoints(MountPoint... mountPoints) |
The mount points for data volumes in your container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.name(String name) |
The name of a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.portMappings(Collection<PortMapping> portMappings) |
The list of port mappings for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.portMappings(Consumer<PortMapping.Builder>... portMappings) |
The list of port mappings for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.portMappings(PortMapping... portMappings) |
The list of port mappings for the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.privileged(Boolean privileged) |
When this parameter is true, the container is given elevated privileges on the host container instance
(similar to the root user).
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.pseudoTerminal(Boolean pseudoTerminal) |
When this parameter is true, a TTY is allocated.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.readonlyRootFilesystem(Boolean readonlyRootFilesystem) |
When this parameter is true, the container is given read-only access to its root file system.
|
default ContainerDefinition.Builder |
ContainerDefinition.Builder.repositoryCredentials(Consumer<RepositoryCredentials.Builder> repositoryCredentials) |
The private repository authentication credentials to use.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.repositoryCredentials(RepositoryCredentials repositoryCredentials) |
The private repository authentication credentials to use.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.resourceRequirements(Collection<ResourceRequirement> resourceRequirements) |
The type and amount of a resource to assign to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.resourceRequirements(Consumer<ResourceRequirement.Builder>... resourceRequirements) |
The type and amount of a resource to assign to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.resourceRequirements(ResourceRequirement... resourceRequirements) |
The type and amount of a resource to assign to a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.secrets(Collection<Secret> secrets) |
The secrets to pass to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.secrets(Consumer<Secret.Builder>... secrets) |
The secrets to pass to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.secrets(Secret... secrets) |
The secrets to pass to the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.startTimeout(Integer startTimeout) |
Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.stopTimeout(Integer stopTimeout) |
Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on
its own.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.systemControls(Collection<SystemControl> systemControls) |
A list of namespaced kernel parameters to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.systemControls(Consumer<SystemControl.Builder>... systemControls) |
A list of namespaced kernel parameters to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.systemControls(SystemControl... systemControls) |
A list of namespaced kernel parameters to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.toBuilder() |
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.ulimits(Collection<Ulimit> ulimits) |
A list of ulimits to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.ulimits(Consumer<Ulimit.Builder>... ulimits) |
A list of ulimits to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.ulimits(Ulimit... ulimits) |
A list of ulimits to set in the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.user(String user) |
The user to use inside the container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.volumesFrom(Collection<VolumeFrom> volumesFrom) |
Data volumes to mount from another container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.volumesFrom(Consumer<VolumeFrom.Builder>... volumesFrom) |
Data volumes to mount from another container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.volumesFrom(VolumeFrom... volumesFrom) |
Data volumes to mount from another container.
|
ContainerDefinition.Builder |
ContainerDefinition.Builder.workingDirectory(String workingDirectory) |
The working directory to run commands inside the container in.
|