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

ResourceName - awsS3Bucket

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

The awsS3Bucket resource loads S3 bucket 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):

"@awsS3Bucket": {
    "Tags": [
      {
        "Key": "NonProd",
        "Value": "true"
      },
      {
        "Key": "Description",
        "Value": "cloudformation bucket"
      },
      {
        "Key": "Owner",
        "Value": "demo@fluencysecurity.com"
      }
    ],
    "bucket": "templates-1asdfasdf83t-us-east-2",
    "region": "us-east-2",
    "size": 10,
    "sizeInfo": [],
    "types": []
  },
  "@customer": "FluencyAudit",
  "@dayIndex": "20221024",
  "@key": "templates-1asdfasdf83t-us-east-2",
  "@resource_type": "awsS3Bucket",
  "@source": "AWSResource",
  "@timestamp": 1666633067000,
  "@type": "resource"
}

Example

FPL Code

An example for showing the basic information of S3 bucket:

function table_loadbucket()
    load resource awsS3Bucket
    let {region,size,types}=f("@awsS3Bucket")
end
stream table_loadbucket=table_loadbucket()

Table Results

Results of the above FPL code:

Page last updated: 2022 Oct 24