Class: Aws::EC2::Types::InstanceSpecification

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

Overview

The instance details to specify which volumes should be snapshotted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exclude_boot_volume ⇒ Boolean

Excludes the root volume from being snapshotted.

Returns:

  • (Boolean)


57059
57060
57061
57062
57063
57064
57065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57059

class InstanceSpecification < Struct.new(
  :instance_id,
  :exclude_boot_volume,
  :exclude_data_volume_ids)
  SENSITIVE = []
  include Aws::Structure
end

#exclude_data_volume_ids ⇒ Array<String>

The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

You can specify up to 40 volume IDs per request.

Returns:

  • (Array<String>)


57059
57060
57061
57062
57063
57064
57065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57059

class InstanceSpecification < Struct.new(
  :instance_id,
  :exclude_boot_volume,
  :exclude_data_volume_ids)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The instance to specify which volumes should be snapshotted.

Returns:

  • (String)


57059
57060
57061
57062
57063
57064
57065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57059

class InstanceSpecification < Struct.new(
  :instance_id,
  :exclude_boot_volume,
  :exclude_data_volume_ids)
  SENSITIVE = []
  include Aws::Structure
end