Class: Aws::EC2::Types::Volume

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

Overview

Describes a volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsArray<Types::VolumeAttachment>

Information about the volume attachments.

Returns:



67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone for the volume.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#create_timeTime

The time stamp when volume creation was initiated.

Returns:

  • (Time)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#encryptedBoolean

Indicates whether the volume is encrypted.

Returns:

  • (Boolean)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#fast_restoredBoolean

Indicates whether the volume was created using fast snapshot restore.

Returns:

  • (Boolean)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#iopsInteger

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

Returns:

  • (Integer)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#multi_attach_enabledBoolean

Indicates whether Amazon EBS Multi-Attach is enabled.

Returns:

  • (Boolean)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#outpost_arnString

The Amazon Resource Name (ARN) of the Outpost.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

The size of the volume, in GiBs.

Returns:

  • (Integer)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The snapshot from which the volume was created, if applicable.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#sse_typeString

Reserved for future use.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The volume state.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the volume.

Returns:



67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#throughputInteger

The throughput that the volume supports, in MiB/s.

Returns:

  • (Integer)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

The ID of the volume.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end

#volume_typeString

The volume type.

Returns:

  • (String)


67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67497

class Volume < Struct.new(
  :attachments,
  :availability_zone,
  :create_time,
  :encrypted,
  :kms_key_id,
  :outpost_arn,
  :size,
  :snapshot_id,
  :state,
  :volume_id,
  :iops,
  :tags,
  :volume_type,
  :fast_restored,
  :multi_attach_enabled,
  :throughput,
  :sse_type)
  SENSITIVE = []
  include Aws::Structure
end