Class: Aws::Lightsail::Types::AttachDiskRequest

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

Overview

Note:

When making an API call, you may pass AttachDiskRequest data as a hash:

{
  disk_name: "ResourceName", # required
  instance_name: "ResourceName", # required
  disk_path: "NonEmptyString", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#disk_nameString

The unique Lightsail disk name (e.g., ‘my-disk`).

Returns:

  • (String)


65
66
67
68
69
70
# File 'lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end

#disk_pathString

The disk path to expose to the instance (e.g., ‘/dev/xvdf`).

Returns:

  • (String)


65
66
67
68
69
70
# File 'lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end

#instance_nameString

The name of the Lightsail instance where you want to utilize the storage disk.

Returns:

  • (String)


65
66
67
68
69
70
# File 'lib/aws-sdk-lightsail/types.rb', line 65

class AttachDiskRequest < Struct.new(
  :disk_name,
  :instance_name,
  :disk_path)
  include Aws::Structure
end