Class Cw2ClientIAMOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.cw.client.impl.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 Details

    • Cw2ClientIAMOptimizedImpl

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

    • 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.