Class: Aws::Lightsail::Types::CreateKeyPairRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_pair_nameString

The name for your new key pair.

Returns:

  • (String)


4099
4100
4101
4102
4103
4104
# File 'lib/aws-sdk-lightsail/types.rb', line 4099

class CreateKeyPairRequest < Struct.new(
  :key_pair_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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.

Returns:



4099
4100
4101
4102
4103
4104
# File 'lib/aws-sdk-lightsail/types.rb', line 4099

class CreateKeyPairRequest < Struct.new(
  :key_pair_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end