Skip to main content Link Menu Expand (external link) Document Search Copy Copied

ResourceName - awsEbsVolume

Sections
  1. Resource Data
  2. Example
    1. FPL Code
    2. Table Results

The awsEbsVolume resource loads EBS Volume from one or more AWS Account(s). This data will be present when the AWS ResourceWatch integration is enabled.

Resource Data

An example of what this resource includes (JSON):

"@awsEbsVolume": {
    "Attachments": [
      {
        "AttachTime": "2018-04-26T15:35:33Z",
        "DeleteOnTermination": false,
        "Device": "/dev/sda1",
        "InstanceId": "i-0111119252",
        "State": "attached",
        "VolumeId": "vol-0b511111d2dc6"
      }
    ],
    "AvailabilityZone": "us-east-2c",
    "CreateTime": "2018-04-26T15:35:33.393Z",
    "Encrypted": false,
    "FastRestored": null,
    "Iops": 100,
    "KmsKeyId": null,
    "MultiAttachEnabled": false,
    "OutpostArn": null,
    "Size": 8,
    "SnapshotId": "snap-0411111f792c36",
    "State": "in-use",
    "Tags": null,
    "Throughput": null,
    "VolumeId": "vol-0b511111d2dc6",
    "VolumeType": "gp2",
    "_instanceNames": [
      "vpn-priv"
    ],
    "_region": "us-east-2"
  },
  "@customer": "FluencyAudit",
  "@dayIndex": "20221024-18",
  "@key": "vol-0b511111d2dc6",
  "@resource_type": "awsEbsVolume",
  "@source": "AWSResource",
  "@timestamp": 1666636668000,
  "@type": "resource"
}

Example

FPL Code

An example for showing the basic information of EBS Volume:

function table_loadvolume()
    load resource awsEbsVolume
    let {_region,_instanceNames,Size,VolumeType,State}=f("@awsEbsVolume")
end
stream table_loadvolume=table_loadvolume()

Table Results

Results of the above FPL code:

Page last updated: 2022 Oct 27