Class Cw2ClientIAMOptimizedImpl

  • All Implemented Interfaces:
    Cw2InternalClient

    public class Cw2ClientIAMOptimizedImpl
    extends Object
    implements Cw2InternalClient
    Manage an AWS CloudWatch client for all users to use (enabling temporary creds). This implementation is for remote instances to manage the credentials on their own (eliminating credential rotations)
    • Constructor Detail

      • Cw2ClientIAMOptimizedImpl

        public Cw2ClientIAMOptimizedImpl​(Cw2Configuration configuration)
        Constructor that uses the config file.
    • Method Detail

      • getCloudWatchClient

        public software.amazon.awssdk.services.cloudwatch.CloudWatchClient getCloudWatchClient()
        Getting the Cloud watch aws client that is used.
        Specified by:
        getCloudWatchClient in interface Cw2InternalClient
        Returns:
        Cloud Watch Client.