removalPolicies

@JvmName(name = "uuvdsdkrclqgtgyq")
suspend fun removalPolicies(value: Output<List<String>>)
@JvmName(name = "dvkjlevxnhyshcdh")
suspend fun removalPolicies(value: List<String>?)

Parameters

value

RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:

  • OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time.

  • NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time.

  • OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration.

  • Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.


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


@JvmName(name = "ecsvlxarpbxrqkcf")
suspend fun removalPolicies(values: List<Output<String>>)
@JvmName(name = "qgpbukelswsemcxf")
suspend fun removalPolicies(vararg values: String)

Parameters

values

RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:

  • OldestInstance: removes the ECS instance that is added to the scaling group at the earliest point in time.

  • NewestInstance: removes the ECS instance that is added to the scaling group at the latest point in time.

  • OldestScalingConfiguration: removes the ECS instance that is created based on the earliest scaling configuration.

  • Default values: Default value of RemovalPolicy.1: OldestScalingConfiguration. Default value of RemovalPolicy.2: OldestInstance.