event Source
Parameters
value
The event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the event_source
configuration block.
suspend fun eventSource(argument: suspend LifecyclePolicyPolicyDetailsEventSourceArgsBuilder.() -> Unit)
Parameters
argument
The event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the event_source
configuration block.