amazon cloudwatchlogs - Set expiration of CloudWatch Log Group for Lambda Function -


by default when create lambda function, cloudwatch log group set never expire. possible set expiration (saying 14 days) don't have set manually console after creation?

if creating lambda through console, not possible set log retention accordingly. not possible set default retention cloudwatch logs.

the way can influence log retention through cloudformation. in case, need deploy lambda through cloudformation , can define matching loggroup custom retention within template.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -