GetIPSet
Source:
src/AWS/WAFv2/GetIPSet.ts
Runtime binding for wafv2:GetIPSet — read the bound IPSet’s
current addresses; the name, scope, and id are injected automatically.
Provide WAFv2.GetIPSetHttp on the hosting Lambda Function to satisfy
the requirement.
Managing IP Sets at Runtime
Section titled “Managing IP Sets at Runtime”// init — grants wafv2:GetIPSet on the IP setconst getIPSet = yield* AWS.WAFv2.GetIPSet(blockList);
// runtimeconst { IPSet } = yield* getIPSet();const addresses = IPSet?.Addresses ?? [];