Learn R Programming

paws.compute (version 0.7.0)

lightsail_create_key_pair: Creates a custom SSH key pair that you can use with an Amazon Lightsail instance

Description

Creates a custom SSH key pair that you can use with an Amazon Lightsail instance.

See https://www.paws-r-sdk.com/docs/lightsail_create_key_pair/ for full documentation.

Usage

lightsail_create_key_pair(keyPairName, tags = NULL)

Arguments

keyPairName

[required] The name for your new key pair.

tags

The tag keys and optional values to add to the resource during create.

Use the tag_resource action to tag a resource after it's created.