Package software.amazon.awssdk.services.ec2
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
-
ClassDescriptionService client for accessing Amazon EC2 asynchronously.A builder for creating an instance of
Ec2AsyncClient.This includes configuration specific to Amazon EC2 that is supported by bothEc2ClientBuilderandEc2AsyncClientBuilder.Service client for accessing Amazon EC2.A builder for creating an instance ofEc2Client.Class to expose the service client settings to the user.A builder for creating aEc2ServiceClientConfiguration