targetInstanceTypes

@JvmName(name = "uejkhfrlwpkaqati")
suspend fun targetInstanceTypes(value: Output<List<String>>)
@JvmName(name = "qlwjwqcsskemerau")
suspend fun targetInstanceTypes(value: List<String>?)

Parameters

value

The instance type or family that this override launch template should be applied to. This parameter is required when defining a launch template override. Information included in this parameter must meet the following requirements:

  • Must be a valid Amazon EC2 instance type or family.

  • optimal isn't allowed.

  • targetInstanceTypes can target only instance types and families that are included within the ComputeResource&#46;instanceTypes set. targetInstanceTypes doesn't need to include all of the instances from the instanceType set, but at least a subset. For example, if ComputeResource&#46;instanceTypes includes [m5, g5] , targetInstanceTypes can include [m5&#46;2xlarge] and [m5&#46;large] but not [c5&#46;large] .

  • targetInstanceTypes included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.


@JvmName(name = "ruqhnajtsegbgjcn")
suspend fun targetInstanceTypes(vararg values: Output<String>)


@JvmName(name = "wsxelfntyuasirod")
suspend fun targetInstanceTypes(values: List<Output<String>>)
@JvmName(name = "gmycbnwuxphkribs")
suspend fun targetInstanceTypes(vararg values: String)

Parameters

values

The instance type or family that this override launch template should be applied to. This parameter is required when defining a launch template override. Information included in this parameter must meet the following requirements:

  • Must be a valid Amazon EC2 instance type or family.

  • optimal isn't allowed.

  • targetInstanceTypes can target only instance types and families that are included within the ComputeResource&#46;instanceTypes set. targetInstanceTypes doesn't need to include all of the instances from the instanceType set, but at least a subset. For example, if ComputeResource&#46;instanceTypes includes [m5, g5] , targetInstanceTypes can include [m5&#46;2xlarge] and [m5&#46;large] but not [c5&#46;large] .

  • targetInstanceTypes included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.