ComputeEnvironmentComputeResourcesEc2ConfigurationArgs

data class ComputeEnvironmentComputeResourcesEc2ConfigurationArgs(val imageIdOverride: Output<String>? = null, val imageType: Output<String>? = null) : ConvertibleToJava<ComputeEnvironmentComputeResourcesEc2ConfigurationArgs>

Constructors

constructor(imageIdOverride: Output<String>? = null, imageType: Output<String>? = null)

Properties

Link copied to clipboard
val imageIdOverride: Output<String>? = null

The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the image_id argument in the compute_resources block.

Link copied to clipboard
val imageType: Output<String>? = null

The image type to match with the instance type to select an AMI. If the image_id_override parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used.

Functions

Link copied to clipboard
open override fun toJava(): ComputeEnvironmentComputeResourcesEc2ConfigurationArgs