'How can I know the total time that EBS Volume state is Available?

I want to remove EBS that is available for a long time.

I want to remove EBS based on the total time available

Can I check using cloudwatch? Is there no choice but to write code using lambda? How can I know the total time that EBS Volume state is Available or in-use?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source