Class AWS2EC2ClientIAMProfileOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.ec2.client.impl.AWS2EC2ClientIAMProfileOptimizedImpl
All Implemented Interfaces:
AWS2EC2InternalClient

public class AWS2EC2ClientIAMProfileOptimizedImpl extends Object implements AWS2EC2InternalClient
Manage an AWS EC2 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

    • AWS2EC2ClientIAMProfileOptimizedImpl

      public AWS2EC2ClientIAMProfileOptimizedImpl(AWS2EC2Configuration configuration)
      Constructor that uses the config file.
  • Method Details

    • getEc2Client

      public software.amazon.awssdk.services.ec2.Ec2Client getEc2Client()
      Getting the EC2 aws client that is used.
      Specified by:
      getEc2Client in interface AWS2EC2InternalClient
      Returns:
      Ec2Client Client.