Class RetentionPolicyArgs


  • public final class RetentionPolicyArgs
    extends com.pulumi.resources.ResourceArgs
    Specifies the retention policy for the log.
    • Method Detail

      • days

        public com.pulumi.core.Output<java.lang.Integer> days()
        Returns:
        the number of days for the retention in days. A value of 0 will retain the events indefinitely.
      • enabled

        public com.pulumi.core.Output<java.lang.Boolean> enabled()
        Returns:
        a value indicating whether the retention policy is enabled.