ec2_describe_flow_logs
Retrieve detailed information about VPC Flow Logs in a specified AWS region. Filter results by Flow Log IDs, resource IDs, or resource type, and control the number of results returned.
Instructions
Describe one or more VPC Flow Logs.
If no filter is provided, returns all Flow Logs in the region.
Parameters:
aws_region (str): The AWS region - use 'us-east-1' if not specified.
flow_log_ids (list[str], optional): List of Flow Log IDs to describe.
resource_ids (list[str], optional): List of resource IDs to filter by.
resource_type (str, optional): Type of resource to filter by (e.g. 'VPC', 'NetworkInterface', 'Subnet').
max_results (int, optional): Maximum number of results to return.
Returns:
str: JSON-formatted list of Flow Logs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aws_region | Yes | ||
flow_log_ids | No | ||
max_results | No | ||
resource_ids | No | ||
resource_type | No |