RetentionDays

class aws_cdk.aws_logs.RetentionDays

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.

Attributes

EIGHTEEN_MONTHS = 'EIGHTEEN_MONTHS'

18 months.

FIVE_DAYS = 'FIVE_DAYS'

5 days.

FIVE_MONTHS = 'FIVE_MONTHS'

5 months.

FIVE_YEARS = 'FIVE_YEARS'

5 years.

FOUR_MONTHS = 'FOUR_MONTHS'

4 months.

INFINITE = 'INFINITE'

Retain logs forever.

ONE_DAY = 'ONE_DAY'

1 day.

ONE_MONTH = 'ONE_MONTH'

1 month.

ONE_WEEK = 'ONE_WEEK'

1 week.

ONE_YEAR = 'ONE_YEAR'

1 year.

SIX_MONTHS = 'SIX_MONTHS'

6 months.

TEN_YEARS = 'TEN_YEARS'

10 years.

THIRTEEN_MONTHS = 'THIRTEEN_MONTHS'

13 months.

THREE_DAYS = 'THREE_DAYS'

3 days.

THREE_MONTHS = 'THREE_MONTHS'

3 months.

TWO_MONTHS = 'TWO_MONTHS'

2 months.

TWO_WEEKS = 'TWO_WEEKS'

2 weeks.

TWO_YEARS = 'TWO_YEARS'

2 years.