Interface CfnPipe.BatchContainerOverridesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPipe.BatchContainerOverridesProperty.Jsii$Proxy
- Enclosing class:
CfnPipe
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pipes.*;
BatchContainerOverridesProperty batchContainerOverridesProperty = BatchContainerOverridesProperty.builder()
.command(List.of("command"))
.environment(List.of(BatchEnvironmentVariableProperty.builder()
.name("name")
.value("value")
.build()))
.instanceType("instanceType")
.resourceRequirements(List.of(BatchResourceRequirementProperty.builder()
.type("type")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPipe.BatchContainerOverridesPropertystatic final classAn implementation forCfnPipe.BatchContainerOverridesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The command to send to the container that overrides the default command from the Docker image or the task definition.default ObjectThe environment variables to send to the container.default StringThe instance type to use for a multi-node parallel job.default ObjectThe type and amount of resources to assign to a container.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommand
The command to send to the container that overrides the default command from the Docker image or the task definition.- See Also:
-
getEnvironment
The 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipe.BatchEnvironmentVariableProperty>- See Also:
-
getInstanceType
The 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.
- See Also:
-
getResourceRequirements
The type and amount of resources to assign to a container.This overrides the settings in the job definition. The supported resources include
GPU,MEMORY, andVCPU.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPipe.BatchResourceRequirementProperty>- See Also:
-
builder
-