AWS SDK for .NET Documentation
AmazonEC2Client Constructor (awsAccessKeyId, awsSecretAccessKey, region)
AmazonAmazon.EC2AmazonEC2ClientAmazonEC2Client(String, String, RegionEndpoint) Did this page help you?   Yes   No    Tell us about it...
Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key
Declaration Syntax
C#
public AmazonEC2Client(
	string awsAccessKeyId,
	string awsSecretAccessKey,
	RegionEndpoint region
)
Parameters
awsAccessKeyId (String)
AWS Access Key ID
awsSecretAccessKey (String)
AWS Secret Access Key
region (RegionEndpoint)
The region to connect to.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)