Ec2Configuration

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2).

This object isn't applicable to jobs that are running on Fargate resources.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the imageId set in the computeResource object.

Link copied to clipboard

The Kubernetes version for the compute environment. If you don't specify a value, the latest version that Batch supports is used.

Link copied to clipboard

The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources.

Functions

Link copied to clipboard
inline fun copy(block: Ec2Configuration.Builder.() -> Unit = {}): Ec2Configuration
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String