Whenever you handle sensitive information like addresses, names, emails. social security numbers or even AWS secret keys in your code this has the potential to make this information available in the logs. That is usually not a good thing so you might want to mask this information in the logs.
CloudWatch Data protection allows you to do that. In this video I will show you how to use this feature to mask sensitive information in the logs.