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