Create a client for the Amazon CloudWatch Service with the credentials defined in the App.config.
Example App.config with credentials set.
CopyC#
Namespace: Amazon<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSAccessKey" value="********************"/> <add key="AWSSecretKey" value="****************************************"/> </appSettings> </configuration>
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.2.0 (1.4.2.0)
Syntax
| C# | Visual Basic | Visual C++ |
public static AmazonCloudWatch CreateAmazonCloudWatchClient( AmazonCloudWatchConfig config )
Public Shared Function CreateAmazonCloudWatchClient ( _ config As AmazonCloudWatchConfig _ ) As AmazonCloudWatch
public: static AmazonCloudWatch^ CreateAmazonCloudWatchClient( AmazonCloudWatchConfig^ config )
Parameters
- config
- AmazonCloudWatchConfig
Configuration options for the service like HTTP Proxy, # of connections, etc