Class PipeTargetParametersBatchJobParametersContainerOverrides


  • public final class PipeTargetParametersBatchJobParametersContainerOverrides
    extends java.lang.Object
    • Method Detail

      • commands

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

        public java.util.List<PipeTargetParametersBatchJobParametersContainerOverridesEnvironment> 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. Environment variables cannot start with " AWS Batch ". This naming convention is reserved for variables that AWS Batch sets. See `target_parameters.batch_job_parameters.container_overrides.environment` Block for details.
      • instanceType

        public java.util.Optional<java.lang.String> instanceType()
        Returns:
        Instance type to use for a multi-node parallel job. This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
      • resourceRequirements

        public java.util.List<PipeTargetParametersBatchJobParametersContainerOverridesResourceRequirement> resourceRequirements()
        Returns:
        Type and amount of resources to assign to a container. This overrides the settings in the job definition. The supported resources include GPU, MEMORY, and VCPU. See `target_parameters.batch_job_parameters.container_overrides.resource_requirement` Block for details.