action

@JvmName(name = "wedghrmgermdybyb")
suspend fun action(value: Output<LifecyclePolicyPolicyDetailsActionArgs>)
@JvmName(name = "tocfwokergqukmmg")
suspend fun action(value: LifecyclePolicyPolicyDetailsActionArgs?)

Parameters

value

The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the action configuration block.


@JvmName(name = "eahndifugdsrasoh")
suspend fun action(argument: suspend LifecyclePolicyPolicyDetailsActionArgsBuilder.() -> Unit)

Parameters

argument

The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the action configuration block.