Class Cw2ClientIAMProfileOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.cw.client.impl.Cw2ClientIAMProfileOptimizedImpl
All Implemented Interfaces:
Cw2InternalClient

public class Cw2ClientIAMProfileOptimizedImpl 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

    • Cw2ClientIAMProfileOptimizedImpl

      public Cw2ClientIAMProfileOptimizedImpl(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.