AWS SDK for .NET Documentation
AmazonEC2Client Constructor (awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
AmazonAmazon.EC2AmazonEC2ClientAmazonEC2Client(String, 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 AmazonEC2Config 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,
	string awsSessionToken,
	AmazonEC2Config clientConfig
)
Parameters
awsAccessKeyId (String)
AWS Access Key ID
awsSecretAccessKey (String)
AWS Secret Access Key
awsSessionToken (String)
AWS Session Token
clientConfig (AmazonEC2Config)
The AmazonEC2Client Configuration Object

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