updateToLatestImageVersion

@JvmName(name = "yhlwrjpyuosxxcla")
suspend fun updateToLatestImageVersion(value: Output<Boolean>)
@JvmName(name = "dtquhiptpvxhwqjm")
suspend fun updateToLatestImageVersion(value: Boolean?)

Parameters

value

Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is false .

An AMI ID can either be specified in the imageId or imageIdOverride parameters or be determined by the launch template that's specified in the launchTemplate parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see Updating the AMI ID in the AWS Batch User Guide . When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the AWS Batch User Guide .