AWS SDK for .NET Documentation
WithKeyName Method (keyName)
Amazon
►
Amazon.EC2.Model
►
LaunchSpecification
►
WithKeyName(String)
C#
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)