ListAttacks
Source:
src/AWS/Shield/ListAttacks.ts
Runtime binding for shield:ListAttacks.
Lists all ongoing DDoS attacks, or all attacks in a given time window,
optionally filtered to specific protected-resource ARNs — the entry point
for a security dashboard or attack-alerting handler. Requires an active
Shield Advanced subscription.
Provide the implementation with Effect.provide(AWS.Shield.ListAttacksHttp).
Attack Visibility
Section titled “Attack Visibility”// init — account-level binding, no resource argumentconst listAttacks = yield* AWS.Shield.ListAttacks();
// runtime — omitting the time range returns ongoing attacksconst { AttackSummaries } = yield* listAttacks();