You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::CreateInstanceSnapshotRequest

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

Overview

Note:

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

{
  instance_snapshot_name: "ResourceName", # required
  instance_name: "ResourceName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_nameString

The Lightsail instance on which to base your snapshot.

Returns:

  • (String)


366
367
368
369
370
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 366

class CreateInstanceSnapshotRequest < Struct.new(
  :instance_snapshot_name,
  :instance_name)
  include Aws::Structure
end

#instance_snapshot_nameString

The name for your new snapshot.

Returns:

  • (String)


366
367
368
369
370
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 366

class CreateInstanceSnapshotRequest < Struct.new(
  :instance_snapshot_name,
  :instance_name)
  include Aws::Structure
end