Skip to main content
Version: 0.0.25

Table: general_purpose_volume

Table to manage AWS general purpose Volume entities. Amazon Elastic Block Store (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes behave like raw, unformatted block devices.

Example

INSERT INTO general_purpose_volume (volume_type, availability_zone, size, tags) VALUES ('gp3', 'us-east-1a', 50, '{"Name": "gp3-volume-name"}');

See

Columns

Optional attached_instance: instance

Reference to the ec2 instances where this volume is attached

availability_zone: availability_zone

Reference to the availability zone for the volume

Optional instance_device_name: string

Name for the device when it is attached to an instance

See

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html

Optional iops: number

The number of I/O operations per second (IOPS)

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/createvolumerequest.html#iops

region: string

Region for the volume

size: number

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.

Optional snapshot_id: string

The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.

Optional state: volume_state

Current state of the volume

Optional tags: Object

Complex type to provide identifier tags for the volume

See

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/interfaces/createvolumecommandinput.html#tagspecifications

Type definition

[key: string]: string

Optional throughput: number

The throughput to provision for a volume, with a maximum of 1,000 MiB/s. Only valid for gp3 volumes

Optional volume_id: string

AWS generated ID for the volume

volume_type: general_purpose_volume_type

Type of volume