AWS Batch Construct Library
-
The command that's passed to the container.
EcsEc2ContainerDefinition.Builder.cpu(Number cpu)
The number of vCPUs reserved for the container.
EcsEc2ContainerDefinition.Builder.create(software.constructs.Construct scope,
String id)
The environment variables to pass to a container.
The role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.
EcsEc2ContainerDefinition.Builder.gpu(Number gpu)
The number of physical GPUs to reserve for the container.
The image that this container will run.
The role that the container can assume.
Linux-specific modifications that are applied to the container, such as details for device mappings.
The loging configuration for this Job.
EcsEc2ContainerDefinition.Builder.memory(Size memory)
The memory hard limit present to the container.
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).
Gives the container readonly access to its root filesystem.
A map from environment variable names to the secrets for the container.
Limits to set for the user this docker container will run as.
EcsEc2ContainerDefinition.Builder.user(String user)
The user name to use inside the container.
The volumes to mount to this container.