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>

This parameter is not returned by CreateVolume.

Information about the volume attachments.

Returns:



67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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

This parameter is not returned by CreateVolume.

Indicates whether the volume was created using fast snapshot restore.

Returns:

  • (Boolean)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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 KMS key that was used to protect the volume encryption key for the volume.

Returns:

  • (String)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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

This parameter is not returned by CreateVolume.

Reserved for future use.

Returns:

  • (String)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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:



67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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)


67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67643

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