support AWSCredentialsProvider for cloudwatch
deprecate use of AWSCredentials