Package ec2 provides the client and types for making API requests to Amazon Elastic Compute Cloud.
Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster.
To learn more, see the following resources:
* Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon EC2 documentation (http://aws.amazon.com/documentation/ec2) * Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon EBS documentation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html) * Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon VPC documentation (http://aws.amazon.com/documentation/vpc) * AWS VPN: AWS VPN product page (http://aws.amazon.com/vpn), AWS VPN documentation (http://aws.amazon.com/documentation/vpn)
See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.
See ec2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/
To contact Amazon Elastic Compute Cloud with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Elastic Compute Cloud client EC2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#New
The stub package, ec2iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.