Class RetentionDays
How long, in days, the log contents will be retained.
Inheritance
System.Object
RetentionDays
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public sealed class RetentionDays : Enum
Syntax (vb)
Public NotInheritable Class RetentionDays
Inherits
Enum
Synopsis
Fields
EIGHTEEN_MONTHS | 18 months. |
FIVE_DAYS | 5 days. |
FIVE_MONTHS | 5 months. |
FIVE_YEARS | 5 years. |
FOUR_MONTHS | 4 months. |
INFINITE | Retain logs forever. |
ONE_DAY | 1 day. |
ONE_MONTH | 1 month. |
ONE_WEEK | 1 week. |
ONE_YEAR | 1 year. |
SIX_MONTHS | 6 months. |
TEN_YEARS | 10 years. |
THIRTEEN_MONTHS | 13 months. |
THREE_DAYS | 3 days. |
THREE_MONTHS | 3 months. |
TWO_MONTHS | 2 months. |
TWO_WEEKS | 2 weeks. |
TWO_YEARS | 2 years. |
value__ |
Fields
EIGHTEEN_MONTHS
FIVE_DAYS
FIVE_MONTHS
FIVE_YEARS
FOUR_MONTHS
INFINITE
ONE_DAY
ONE_MONTH
ONE_WEEK
ONE_YEAR
SIX_MONTHS
TEN_YEARS
THIRTEEN_MONTHS
THREE_DAYS
THREE_MONTHS
TWO_MONTHS
TWO_WEEKS
TWO_YEARS
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |