What is the retention period for CloudWatch Logs?

* By default, CloudWatch Logs retains log data indefinitely. However, users can specify a retention period ranging from a minimum of 1 day to a maximum of 10 years.

* After the retention period expires, log data is automatically deleted. Once the retention period expires, CloudWatch Logs automatically deletes the log data. This feature helps you manage storage costs and comply with data retention policies.