class Aws::Lightsail::Types::CreateKeyPairRequest

@note When making an API call, you may pass CreateKeyPairRequest

data as a hash:

    {
      key_pair_name: "ResourceName", # required
      tags: [
        {
          key: "TagKey",
          value: "TagValue",
        },
      ],
    }

@!attribute [rw] key_pair_name

The name for your new key pair.
@return [String]

@!attribute [rw] tags

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

Use the `TagResource` action to tag a resource after it's created.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest AWS API Documentation

Constants

SENSITIVE