AWS SDK for .NET Documentation
AmazonEC2Client Constructor (awsAccessKeyId, awsSecretAccessKey, config)
AmazonAmazon.EC2AmazonEC2ClientAmazonEC2Client(String, String, AmazonEC2Config) Did this page help you?   Yes   No    Tell us about it...
Constructs AmazonEC2Client with AWS Access Key ID, AWS Secret Key and an AmazonEC2 Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings.
Declaration Syntax
C#
public AmazonEC2Client(
	string awsAccessKeyId,
	string awsSecretAccessKey,
	AmazonEC2Config config
)
Parameters
awsAccessKeyId (String)
AWS Access Key ID
awsSecretAccessKey (String)
AWS Secret Access Key
config (AmazonEC2Config)
The AmazonEC2 Configuration Object

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