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