AWS SDK for .NET Documentation
AmazonCloudWatchClient Constructor (awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
Amazon ► Amazon.CloudWatch ► AmazonCloudWatchClient ► AmazonCloudWatchClient(String, String, String, AmazonCloudWatchConfig)
Did this page help you? Yes No Tell us about it...
Constructs AmazonCloudWatchClient with AWS Access Key ID, AWS Secret Key and an AmazonCloudWatchConfig 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 AmazonCloudWatchClient(
    	string awsAccessKeyId,
    	string awsSecretAccessKey,
    	string awsSessionToken,
    	AmazonCloudWatchConfig clientConfig
    )

Parameters

awsAccessKeyId (String)
  AWS Access Key ID

awsSecretAccessKey (String)
  AWS Secret Access Key

awsSessionToken (String)
  AWS Session Token

clientConfig (AmazonCloudWatchConfig)
  The AmazonCloudWatchConfig Configuration Object

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