Skip to main content

flow_logs

Retrieves a list of flow_logs in a region

Overview

Nameflow_logs
TypeResource
Descriptionflow_logs
Idawscc.ec2.flow_logs

Fields

NameDatatypeDescription
idstringThe Flow Log ID
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.ec2.flow_logs
WHERE region = 'us-east-1'

Permissions

To operate on the flow_logs resource, the following permissions are required:

Create

ec2:CreateFlowLogs,
ec2:DescribeFlowLogs,
ec2:CreateTags,
iam:PassRole,
logs:CreateLogDelivery,
s3:GetBucketPolicy,
s3:PutBucketPolicy

List

ec2:DescribeFlowLogs