RetentionDays

class aws_cdk.aws_logs.RetentionDays(value)

Bases: enum.Enum

How long, in days, the log contents will be retained.

Attributes

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.