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)


4116
4117
4118
4119
4120
4121
# File 'lib/aws-sdk-lightsail/types.rb', line 4116

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:



4116
4117
4118
4119
4120
4121
# File 'lib/aws-sdk-lightsail/types.rb', line 4116

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