Uses of Class
software.amazon.awscdk.services.ecs.ContainerDefinition.Builder
Packages that use ContainerDefinition.Builder
-
Uses of ContainerDefinition.Builder in software.amazon.awscdk.services.ecs
Methods in software.amazon.awscdk.services.ecs that return ContainerDefinition.BuilderModifier and TypeMethodDescriptionThe command that is passed to the container.ContainerDefinition.Builder.containerName(String containerName) The name of the container.The minimum number of CPU units to reserve for the container.static ContainerDefinition.BuilderContainerDefinition.Builder.disableNetworking(Boolean disableNetworking) Specifies whether networking is disabled within the container.ContainerDefinition.Builder.dnsSearchDomains(List<String> dnsSearchDomains) A list of DNS search domains that are presented to the container.ContainerDefinition.Builder.dnsServers(List<String> dnsServers) A list of DNS servers that are presented to the container.ContainerDefinition.Builder.dockerLabels(Map<String, String> dockerLabels) A key/value map of labels to add to the container.ContainerDefinition.Builder.dockerSecurityOptions(List<String> dockerSecurityOptions) A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.ContainerDefinition.Builder.entryPoint(List<String> entryPoint) The ENTRYPOINT value to pass to the container.ContainerDefinition.Builder.environment(Map<String, String> environment) The environment variables to pass to the container.ContainerDefinition.Builder.environmentFiles(List<? extends EnvironmentFile> environmentFiles) The environment files to pass to the container.Specifies whether the container is marked essential.ContainerDefinition.Builder.extraHosts(Map<String, String> extraHosts) A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.The number of GPUs assigned to the container.ContainerDefinition.Builder.healthCheck(HealthCheck healthCheck) The health check command and associated configuration parameters for the container.The hostname to use for your container.ContainerDefinition.Builder.image(ContainerImage image) The image used to start a container.ContainerDefinition.Builder.inferenceAcceleratorResources(List<String> inferenceAcceleratorResources) The inference accelerators referenced by the container.ContainerDefinition.Builder.linuxParameters(LinuxParameters linuxParameters) Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.The log configuration specification for the container.ContainerDefinition.Builder.memoryLimitMiB(Number memoryLimitMiB) The amount (in MiB) of memory to present to the container.ContainerDefinition.Builder.memoryReservationMiB(Number memoryReservationMiB) The soft limit (in MiB) of memory to reserve for the container.ContainerDefinition.Builder.portMappings(List<? extends PortMapping> portMappings) The port mappings to add to the container definition.ContainerDefinition.Builder.privileged(Boolean privileged) Specifies whether the container is marked as privileged.ContainerDefinition.Builder.readonlyRootFilesystem(Boolean readonlyRootFilesystem) When this parameter is true, the container is given read-only access to its root file system.The secret environment variables to pass to the container.ContainerDefinition.Builder.startTimeout(Duration startTimeout) Time duration (in seconds) to wait before giving up on resolving dependencies for a container.ContainerDefinition.Builder.stopTimeout(Duration stopTimeout) Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.ContainerDefinition.Builder.systemControls(List<? extends SystemControl> systemControls) A list of namespaced kernel parameters to set in the container.ContainerDefinition.Builder.taskDefinition(TaskDefinition taskDefinition) The name of the task definition that includes this container definition.The user name to use inside the container.ContainerDefinition.Builder.workingDirectory(String workingDirectory) The working directory in which to run commands inside the container.