Class GetTaskExecutionOverridesContainerOverride


  • public final class GetTaskExecutionOverridesContainerOverride
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • commands

        public java.util.Optional<java.util.List<java.lang.String>> commands()
        Returns:
        Command to send to the container that overrides the default command from the Docker image or the task definition.
      • cpu

        public java.util.Optional<java.lang.Integer> cpu()
        Returns:
        Number of CPU units reserved for the container, instead of the default value from the task definition.
      • environments

        public java.util.Optional<java.util.List<GetTaskExecutionOverridesContainerOverrideEnvironment>> environments()
        Returns:
        Environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. See below.
      • memory

        public java.util.Optional<java.lang.Integer> memory()
        Returns:
        Hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed.
      • memoryReservation

        public java.util.Optional<java.lang.Integer> memoryReservation()
        Returns:
        Soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition.
      • name

        public java.lang.String name()
        Returns:
        Name of the container that receives the override. This parameter is required if any override is specified.
      • resourceRequirements

        public java.util.Optional<java.util.List<GetTaskExecutionOverridesContainerOverrideResourceRequirement>> resourceRequirements()
        Returns:
        Type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. See below.