Skip to main content

flow_operation_results

Creates, updates, deletes, gets or lists a flow_operation_results resource.

Overview

Nameflow_operation_results
TypeResource
Idaws.network_firewall.flow_operation_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ageintegerReturned as info about age of the flows identified by the flow operation.
byte_countinteger (int64)Returns the number of bytes received or transmitted in a specific flow.
destination_addressobjectA single IP address specification. This is used in the MatchAttributes source and destination specifications.
destination_portstringThe 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_countintegerReturns the total number of data packets received or transmitted in a flow.
protocolstringThe 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_addressobjectA single IP address specification. This is used in the MatchAttributes source and destination specifications.
source_portstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_flow_operation_resultsselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;