|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyPairClient
Provides access to EC2 via their REST API.
Method Summary | |
---|---|
KeyPair |
createKeyPairInRegion(String region,
String keyName)
Creates a new 2048-bit RSA key pair with the specified name. |
void |
deleteKeyPairInRegion(String region,
String keyName)
Deletes the specified key pair, by removing the public key from Amazon EC2. |
Set<KeyPair> |
describeKeyPairsInRegion(String region,
String... keyPairNames)
Returns information about key pairs available to you. |
Method Detail |
---|
KeyPair createKeyPairInRegion(@Nullable String region, String keyName)
region
- Key pairs (to connect to instances) are Region-specific.keyName
- A unique name for the key pair.#runInstances
,
#describeKeyPairs
,
#deleteKeyPair
,
Set<KeyPair> describeKeyPairsInRegion(@Nullable String region, String... keyPairNames)
region
- Key pairs (to connect to instances) are Region-specific.keyPairNames
- Key pairs to describe.#runInstances
,
#describeAvailabilityZones
,
void deleteKeyPairInRegion(@Nullable String region, String keyName)
region
- Key pairs (to connect to instances) are Region-specific.keyName
- Name of the key pair to delete#describeKeyPairs
,
#createKeyPair
,
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |