AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Create a client for the Amazon CloudWatchLogs Service with the specified configuration

Namespace: Amazon
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public IAmazonCloudWatchLogs CreateAmazonCloudWatchLogsClient(
         String awsAccessKey,
         String awsSecretAccessKey,
         AmazonCloudWatchLogsConfig config
)

Parameters

awsAccessKey
Type: System.String

The AWS Access Key associated with the account

awsSecretAccessKey
Type: System.String

The AWS Secret Access Key associated with the account

config
Type: Amazon.CloudWatchLogs.AmazonCloudWatchLogsConfig

Configuration options for the service like HTTP Proxy, # of connections, etc

Return Value
Type: Amazon.CloudWatchLogs.IAmazonCloudWatchLogs
An Amazon CloudWatchLogs client

Remarks

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5