Skip to content

StartFlowFlush

Source: src/AWS/NetworkFirewall/StartFlowFlush.ts

Runtime binding for network-firewall:StartFlowFlush — flush matching flows from the bound Firewall’s flow table (impacted flows are re-evaluated as midstream traffic); the firewall ARN is injected automatically.

Provide NetworkFirewall.StartFlowFlushHttp on the hosting Lambda Function to satisfy the requirement.

// init — grants network-firewall:StartFlowFlush on the firewall
const startFlowFlush = yield* AWS.NetworkFirewall.StartFlowFlush(firewall);
// runtime
const { FlowOperationId } = yield* startFlowFlush({
FlowFilters: [{ SourceAddress: { AddressDefinition: "10.0.1.10/32" } }],
});