Class: Aws::Lightsail::Types::InstanceSnapshot

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

Overview

Describes an instance snapshot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the snapshot (arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The timestamp when the snapshot was created (1479907467.024).

Returns:

  • (Time)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#from_attached_disks ⇒ Array<Types::Disk>

An array of disk objects containing information about all block storage disks.

Returns:



11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#from_blueprint_id ⇒ String

The blueprint ID from which you created the snapshot (amazon_linux_2023). A blueprint is a virtual private server (or instance) image used to create instances quickly.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#from_bundle_id ⇒ String

The bundle ID from which you created the snapshot (micro_x_x).

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#from_instance_arn ⇒ String

The Amazon Resource Name (ARN) of the instance from which the snapshot was created (arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#from_instance_name ⇒ String

The instance from which the snapshot was created.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#is_from_auto_snapshot ⇒ Boolean

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

Returns:

  • (Boolean)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#location ⇒ Types::ResourceLocation

The region name and Availability Zone where you created the snapshot.



11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the snapshot.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#progress ⇒ String

The progress of the snapshot.

This is populated only for disk snapshots, and is null for instance snapshots.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The type of resource (usually InstanceSnapshot).

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_gb ⇒ Integer

The size in GB of the SSD.

Returns:

  • (Integer)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The state the snapshot is in.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#support_code ⇒ String

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

Returns:



11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11535

class InstanceSnapshot < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :tags,
  :state,
  :progress,
  :from_attached_disks,
  :from_instance_name,
  :from_instance_arn,
  :from_blueprint_id,
  :from_bundle_id,
  :is_from_auto_snapshot,
  :size_in_gb)
  SENSITIVE = []
  include Aws::Structure
end