CmdID

CmdID / aws / aws logs

aws logs put-retention-policy

Sets the retention of the specified log group. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--log-group-nameThe name of the log group.
--retention-in-daysThe number of days to retain the log events in the specified log group.