terminationPolicies

@JvmName(name = "qbmtqooknnwtyjab")
suspend fun terminationPolicies(value: Output<List<String>>)
@JvmName(name = "pguaitjiidijmlhx")
suspend fun terminationPolicies(value: List<String>?)

Parameters

value

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values: `Default` | `AllocationStrategy` | `ClosestToNextInstanceHour` | `NewestInstance` | `OldestInstance` | `OldestLaunchConfiguration` | `OldestLaunchTemplate` | `arn:aws:lambda:region:account-id:function:my-function:my-alias`


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


@JvmName(name = "xolplijncdgmbshe")
suspend fun terminationPolicies(values: List<Output<String>>)
@JvmName(name = "pgendqwcerwukjuf")
suspend fun terminationPolicies(vararg values: String)

Parameters

values

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide. Valid values: `Default` | `AllocationStrategy` | `ClosestToNextInstanceHour` | `NewestInstance` | `OldestInstance` | `OldestLaunchConfiguration` | `OldestLaunchTemplate` | `arn:aws:lambda:region:account-id:function:my-function:my-alias`