Skip to main content

flow_operations

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

Overview

Nameflow_operations
TypeResource
Idaws.network_firewall.flow_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
availability_zonestringThe ID of the Availability Zone where the firewall is located. For example, us-east-2a. Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.
firewall_arnstringThe Amazon Resource Name (ARN) of the firewall. (pattern: <code>^arn:aws.*</code>)
flow_operationobjectReturns key information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation.
flow_operation_idstringA unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands. (pattern: <code>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</code>)
flow_operation_statusstringReturns the status of the flow operation. This string is returned in the responses to start, list, and describe commands. If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty. (COMPLETED, IN_PROGRESS, FAILED, COMPLETED_WITH_ERRORS)
flow_operation_typestringDefines the type of FlowOperation. (FLOW_FLUSH, FLOW_CAPTURE)
flow_request_timestampstring (date-time)A timestamp indicating when the Suricata engine identified flows impacted by an operation.
status_messagestringIf the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include Flow operation error and Flow timeout. (pattern: <code>^[a-zA-Z0-9- ]+$</code>)
vpc_endpoint_association_arnstringThe Amazon Resource Name (ARN) of a VPC endpoint association. (pattern: <code>^arn:aws.*</code>)
vpc_endpoint_idstringA unique identifier for the primary endpoint associated with a firewall. (pattern: <code>^vpce-[a-zA-Z0-9]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_flow_operationselectregionReturns key information about a specific flow operation.
list_flow_operationsselectregionReturns a list of all flow operations ran in a specific firewall. You can optionally narrow the request scope by specifying the operation type or Availability Zone associated with a firewall's flow operations. 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 key information about a specific flow operation.

SELECT
availability_zone,
firewall_arn,
flow_operation,
flow_operation_id,
flow_operation_status,
flow_operation_type,
flow_request_timestamp,
status_message,
vpc_endpoint_association_arn,
vpc_endpoint_id
FROM aws.network_firewall.flow_operations
WHERE region = '{{ region }}' -- required
;