AWS SDK for .NET Documentation
WithKeyName Method (keyName)
AmazonAmazon.EC2.ModelLaunchSpecificationWithKeyName(String) Did this page help you?   Yes   No    Tell us about it...
Sets the name of the key pair.
Declaration Syntax
C#
public LaunchSpecification WithKeyName(
	string keyName
)
Parameters
keyName (String)
The name of the key pair.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)