Create a client for the Amazon EC2 Service with the specified configuration

Namespace: Amazon
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static AmazonEC2 CreateAmazonEC2Client(
	string awsAccessKey,
	string awsSecretAccessKey,
	AmazonEC2Config config
)
Public Shared Function CreateAmazonEC2Client ( _
	awsAccessKey As String, _
	awsSecretAccessKey As String, _
	config As AmazonEC2Config _
) As AmazonEC2
public:
static AmazonEC2^ CreateAmazonEC2Client(
	String^ awsAccessKey, 
	String^ awsSecretAccessKey, 
	AmazonEC2Config^ config
)

Parameters

awsAccessKey
String
The AWS Access Key associated with the account
awsSecretAccessKey
String
The AWS Secret Access Key associated with the account
config
AmazonEC2Config
Configuration options for the service like HTTP Proxy, # of connections, etc

Return Value

An Amazon EC2 client

Remarks

See Also