Class AWS2EC2ClientIAMOptimizedImpl

  • All Implemented Interfaces:
    AWS2EC2InternalClient

    public class AWS2EC2ClientIAMOptimizedImpl
    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 Detail

      • AWS2EC2ClientIAMOptimizedImpl

        public AWS2EC2ClientIAMOptimizedImpl​(AWS2EC2Configuration configuration)
        Constructor that uses the config file.
    • Method Detail

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