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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -