StartFlowCapture
Source:
src/AWS/NetworkFirewall/StartFlowCapture.ts
Runtime binding for network-firewall:StartFlowCapture — begin a
time-boxed capture of the flows the bound Firewall is tracking,
according to the FlowFilters you define; the firewall ARN is injected
automatically.
Provide NetworkFirewall.StartFlowCaptureHttp on the hosting Lambda
Function to satisfy the requirement.
Flow Operations
Section titled “Flow Operations”// init — grants network-firewall:StartFlowCapture on the firewallconst startFlowCapture = yield* AWS.NetworkFirewall.StartFlowCapture(firewall);
// runtimeconst { FlowOperationId } = yield* startFlowCapture({ FlowFilters: [{ SourceAddress: { AddressDefinition: "10.0.1.10/32" } }],});