AWS SDK for .NET
Developer Guide

Creating an Amazon EC2 Client

Create an Amazon EC2 client to manage your EC2 resources, such as instances and security groups. This client is represented by an AmazonEC2Client object, which you can create as follows.

var ec2Client = new AmazonEC2Client();

The permissions for the client object are determined by the policy attached to the profile you specified in the App.config file. By default, we use the region specified in App.config. To use a different region, pass the appropriate RegionEndpoint value to the constructor. For more information, see Regions and Endpoints: EC2 in the Amazon Web Services General Reference.