ec2Configuration

@JvmName(name = "ujjiswgrvuapovep")
suspend fun ec2Configuration(value: Output<List<ComputeEnvironmentEc2ConfigurationObjectArgs>>)
@JvmName(name = "bixyeavuugaglpwu")
suspend fun ec2Configuration(value: List<ComputeEnvironmentEc2ConfigurationObjectArgs>?)

Parameters

value

Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2 . 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 . To remove the Amazon EC2 configuration and any custom AMI ID specified in imageIdOverride , set this value to an empty string. One or two values can be provided.

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.


@JvmName(name = "dngifflejaqvbaqa")
suspend fun ec2Configuration(vararg values: Output<ComputeEnvironmentEc2ConfigurationObjectArgs>)


@JvmName(name = "vanpspcpggcusqum")
suspend fun ec2Configuration(values: List<Output<ComputeEnvironmentEc2ConfigurationObjectArgs>>)
@JvmName(name = "apbmgilyuxfqhcwc")
suspend fun ec2Configuration(vararg values: ComputeEnvironmentEc2ConfigurationObjectArgs)

Parameters

values

Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2 . 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 . To remove the Amazon EC2 configuration and any custom AMI ID specified in imageIdOverride , set this value to an empty string. One or two values can be provided.

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.


@JvmName(name = "gqdmocmqvgfsosit")
suspend fun ec2Configuration(argument: List<suspend ComputeEnvironmentEc2ConfigurationObjectArgsBuilder.() -> Unit>)
@JvmName(name = "pdobiauontxhvcff")
suspend fun ec2Configuration(vararg argument: suspend ComputeEnvironmentEc2ConfigurationObjectArgsBuilder.() -> Unit)
@JvmName(name = "unhfocrtlnshboej")
suspend fun ec2Configuration(argument: suspend ComputeEnvironmentEc2ConfigurationObjectArgsBuilder.() -> Unit)

Parameters

argument

Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2 . 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 . To remove the Amazon EC2 configuration and any custom AMI ID specified in imageIdOverride , set this value to an empty string. One or two values can be provided.

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.