RetentionPolicyArgs

data class RetentionPolicyArgs(val days: Output<Int>, val enabled: Output<Boolean>) : ConvertibleToJava<RetentionPolicyArgs>

Specifies the retention policy for the log.

Constructors

Link copied to clipboard
fun RetentionPolicyArgs(days: Output<Int>, enabled: Output<Boolean>)

Functions

Link copied to clipboard
open override fun toJava(): RetentionPolicyArgs

Properties

Link copied to clipboard
val days: Output<Int>

the number of days for the retention in days. A value of 0 will retain the events indefinitely.

Link copied to clipboard
val enabled: Output<Boolean>

a value indicating whether the retention policy is enabled.