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
constructor(days: Output<Int>, enabled: Output<Boolean>)

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.

Functions

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