Package software.amazon.awssdk.services.ec2
You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information, see the Amazon EC2 Developer Guide.
Code Examples
For code examples demonstrating how to use this service with the AWS SDK for Java v2, see:
Getting Started
Basics
API Actions
- Use GetPasswordData
- Use CreateKeyPair
- Use DescribeKeyPairs
- Use CreateSecurityGroup
- Use RunInstances
- Use StartInstances
- Use StopInstances
- Use AllocateAddress
- Use AssociateAddress
- Use DisassociateAddress
- Use ReleaseAddress
- Use AuthorizeSecurityGroupIngress
- Use DeleteKeyPair
- Use DescribeSecurityGroups
- Use DeleteSecurityGroup
- Use TerminateInstances
- Use DescribeInstances
- Use DescribeInstanceTypes
Scenarios
-
Interface Summary Interface Description Ec2AsyncClient Service client for accessing Amazon EC2 asynchronously.Ec2AsyncClientBuilder A builder for creating an instance ofEc2AsyncClient.Ec2BaseClientBuilder<B extends Ec2BaseClientBuilder<B,C>,C> This includes configuration specific to Amazon EC2 that is supported by bothEc2ClientBuilderandEc2AsyncClientBuilder.Ec2Client Service client for accessing Amazon EC2.Ec2ClientBuilder A builder for creating an instance ofEc2Client.Ec2ServiceClientConfiguration.Builder A builder for creating aEc2ServiceClientConfiguration -
Class Summary Class Description Ec2ServiceClientConfiguration Class to expose the service client settings to the user.