In this blog we will write python script using boto3 which will set retention policy for all existing log groups which are already created in the account at one go. Prerequisite An AWS Account An IAM User with: AWS Management Console access to verif...

Markdown supported · ⌘↵ to post
Manish Gautam
Great article. But I need to apply the retention policy only to those log group whose retention days is more then 30 days. Please help