flow_logs
Retrieves a list of flow_logs
in a region
Overview
Name | flow_logs |
Type | Resource |
Description | flow_logs |
Id | awscc.ec2.flow_logs |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The Flow Log ID |
region | string | AWS 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