flow_operation_results
Creates, updates, deletes, gets or lists a flow_operation_results resource.
Overview
| Name | flow_operation_results |
| Type | Resource |
| Id | aws.network_firewall.flow_operation_results |
Fields
The following fields are returned by SELECT queries:
- list_flow_operation_results
| Name | Datatype | Description |
|---|---|---|
age | integer | Returned as info about age of the flows identified by the flow operation. |
byte_count | integer (int64) | Returns the number of bytes received or transmitted in a specific flow. |
destination_address | object | A single IP address specification. This is used in the MatchAttributes source and destination specifications. |
destination_port | string | The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY. (pattern: <code>^.*$</code>) |
packet_count | integer | Returns the total number of data packets received or transmitted in a flow. |
protocol | string | The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol. (pattern: <code>^.*$</code>) |
source_address | object | A single IP address specification. This is used in the MatchAttributes source and destination specifications. |
source_port | string | The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY. (pattern: <code>^.*$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_flow_operation_results | select | region | Returns the results of a specific flow operation. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_flow_operation_results
Returns the results of a specific flow operation. Flow operations let you manage the flows tracked in the flow table, also known as the firewall table. A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort.
SELECT
age,
byte_count,
destination_address,
destination_port,
packet_count,
protocol,
source_address,
source_port
FROM aws.network_firewall.flow_operation_results
WHERE region = '{{ region }}' -- required
;