Show / Hide Table of Contents

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

18 months.

public const RetentionDays EIGHTEEN_MONTHS
Field Value
Type Description
RetentionDays

FIVE_DAYS

5 days.

public const RetentionDays FIVE_DAYS
Field Value
Type Description
RetentionDays

FIVE_MONTHS

5 months.

public const RetentionDays FIVE_MONTHS
Field Value
Type Description
RetentionDays

FIVE_YEARS

5 years.

public const RetentionDays FIVE_YEARS
Field Value
Type Description
RetentionDays

FOUR_MONTHS

4 months.

public const RetentionDays FOUR_MONTHS
Field Value
Type Description
RetentionDays

INFINITE

Retain logs forever.

public const RetentionDays INFINITE
Field Value
Type Description
RetentionDays

ONE_DAY

1 day.

public const RetentionDays ONE_DAY
Field Value
Type Description
RetentionDays

ONE_MONTH

1 month.

public const RetentionDays ONE_MONTH
Field Value
Type Description
RetentionDays

ONE_WEEK

1 week.

public const RetentionDays ONE_WEEK
Field Value
Type Description
RetentionDays

ONE_YEAR

1 year.

public const RetentionDays ONE_YEAR
Field Value
Type Description
RetentionDays

SIX_MONTHS

6 months.

public const RetentionDays SIX_MONTHS
Field Value
Type Description
RetentionDays

TEN_YEARS

10 years.

public const RetentionDays TEN_YEARS
Field Value
Type Description
RetentionDays

THIRTEEN_MONTHS

13 months.

public const RetentionDays THIRTEEN_MONTHS
Field Value
Type Description
RetentionDays

THREE_DAYS

3 days.

public const RetentionDays THREE_DAYS
Field Value
Type Description
RetentionDays

THREE_MONTHS

3 months.

public const RetentionDays THREE_MONTHS
Field Value
Type Description
RetentionDays

TWO_MONTHS

2 months.

public const RetentionDays TWO_MONTHS
Field Value
Type Description
RetentionDays

TWO_WEEKS

2 weeks.

public const RetentionDays TWO_WEEKS
Field Value
Type Description
RetentionDays

TWO_YEARS

2 years.

public const RetentionDays TWO_YEARS
Field Value
Type Description
RetentionDays

value__

public int value__
Field Value
Type Description
System.Int32
Back to top Generated by DocFX