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:



68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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:



68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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)


68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68390

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