[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A8B87MXSEDZYFJ35C5SRWM":3,"skill-same:01M7A8B87MXSEDZYFJ35C5SRWM":143},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7A8B87MXSEDZYFJ35C5SRWM","eventbridge-rule-deployer",null,"Provisions Amazon EventBridge rules and targets correctly the first time. Covers event-pattern rules (matching events from AWS services or custom sources) and schedule rules (cron\u002Frate), content-based filtering (source, detail-type, detail JSON paths, exists, prefix, suffix, numeric, CIDR, anything-but), target wiring for Lambda, Step Functions, SQS, SNS, ECS, API Gateway, Kinesis, Redshift, SageMaker, and API Destinations, per-target DLQ and retry policy (MaximumRetryAttempts, MaximumEventAgeInSeconds), input transformation (InputPath, InputTemplate), cross-account bus policies, custom event-bus creation, archive and replay, EventBridge Scheduler vs scheduled rules, Pipes vs Rules, global endpoints, and Schema Registry. Emits READY_TO_DEPLOY with a working CLI plan or PREREQUISITES_MISSING with the specific gap. Use when provisioning rules, wiring targets with DLQ and retry, configuring input transformers, deploying cross-account routing, or setting up event archives.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: eventbridge-rule-deployer\ndescription: Provisions Amazon EventBridge rules and targets correctly the first time. Covers event-pattern rules (matching events from AWS services or custom sources) and schedule rules (cron\u002Frate), content-based filtering (source, detail-type, detail JSON paths, exists, prefix, suffix, numeric, CIDR, anything-but), target wiring for Lambda, Step Functions, SQS, SNS, ECS, API Gateway, Kinesis, Redshift, SageMaker, and API Destinations, per-target DLQ and retry policy (MaximumRetryAttempts, MaximumEventAgeInSeconds), input transformation (InputPath, InputTemplate), cross-account bus policies, custom event-bus creation, archive and replay, EventBridge Scheduler vs scheduled rules, Pipes vs Rules, global endpoints, and Schema Registry. Emits READY_TO_DEPLOY with a working CLI plan or PREREQUISITES_MISSING with the specific gap. Use when provisioning rules, wiring targets with DLQ and retry, configuring input transformers, deploying cross-account routing, or setting up event archives.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan generation. Live deployment uses aws events put-rule, put-targets, put-events, test-event-pattern, create-event-bus, put-permission, create-archive, start-replay, describe-rule, list-targets-by-rule, aws lambda add-permission, aws scheduler create-schedule, and aws pipes create-pipe (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: medium\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: AppIntegration\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  when_to_use: Provisioning new EventBridge rules (event-pattern or schedule), wiring targets (Lambda, Step Functions, SQS, SNS, ECS, API Destination, API Gateway, Kinesis, Redshift, SageMaker), configuring per-target DLQ and retry policy, setting up input transformation, deploying cross-account event bus permissions, creating custom event buses, configuring archives for replay, or deciding between Scheduler, Pipes, and Rules for a workload.\n  activation_triggers: create EventBridge rule, deploy EventBridge rule, EventBridge target Lambda, EventBridge scheduled rule, EventBridge cron, EventBridge rate expression, event pattern matching, EventBridge input transformer, EventBridge DLQ, retry policy EventBridge, cross-account event bus, custom event bus, EventBridge archive replay, EventBridge API destination, EventBridge Scheduler vs rules, EventBridge Pipes vs rules, global endpoints EventBridge, Schema Registry\n  invocation_schema: 'Input: either (a) an event source and desired target (\"trigger Lambda X when GuardDuty fires severity >= 7\"), or (b) a schedule requirement (\"run this Step Functions every night at 2am UTC\"), or (c) a deployment plan request for an existing rule config. Output: deterministic PLAN block per rule — RULE\u002FTARGETS\u002FRETRY\u002F DLQ\u002FINPUT_TRANSFORM\u002FPREREQUISITES\u002FVERDICT — where VERDICT is READY_TO_DEPLOY (CLI plan complete and pre-flight green) or PREREQUISITES_MISSING (specific gap cited).'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: EventBridge, event bus, event pattern, scheduled rule, cron rule, rate rule, rule targets, dead-letter queue, DLQ, retry policy, input transformer, InputTemplate, cross-account events, event bus policy, custom event bus, archive and replay, EventBridge Scheduler, EventBridge Pipes, global endpoints, Schema Registry, API destination, provision rules\n  tags: eventbridge, app-integration, event-driven, deploy, rules, targets, dlq\n---\n\n# EventBridge Rule Deployer\n\n## Mindset\n\nMindset prose (stateless filter + fan-out dispatcher, pattern-vs-schedule fork, target wiring as the bug surface, at-least-once contract) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand framing a rule deployment.\n\n## Quick navigation\n\n| You want to... | Go to |\n|---|---|\n| Pick pattern vs schedule rule | Step 1 |\n| Write an event pattern (filtering) | Step 2 + Appendix A |\n| Pick a target type | Step 3 |\n| Wire retry policy and DLQ | Step 4 |\n| Configure input transformation | Step 5 |\n| Deploy cross-account event routing | Step 6 |\n| Use custom event bus vs default | Step 7 |\n| Configure archive and replay | Step 8 |\n| Pick between Rules, Pipes, Scheduler | Step 9 |\n| Configure global endpoints | Step 10 |\n| Enable Schema Registry | Step 11 |\n| Verify the deployment | Step 12 + Pre-flight |\n| Avoid silent-delivery pitfalls | Anti-Patterns |\n| Reduce a partial deployment to READY_TO_DEPLOY | Output format |\n\n## Critical rules at a glance (do NOT bury these)\n\n1. **Every target MUST have a DLQ.** EventBridge retries for up to\n   24 hours; after exhaustion, the event is dropped silently unless\n   `DeadLetterConfig` is set per target. A target without DLQ is\n   silent data loss.\n2. **Lambda targets need `lambda:AddPermission`.** EventBridge\n   cannot invoke a Lambda without an explicit\n   `lambda:InvokeFunction` grant for `events.amazonaws.com`. A\n   missing permission is the most common silent non-delivery\n   failure — the rule matches, the Lambda never runs.\n3. **Pattern and InputTransformer are separate concerns.**\n   `EventPattern` filters which events match. `InputTransformer`\n   reshapes the matched event for the target. Filtering in the\n   transformer is a silent no-op; transforming in the pattern is\n   ignored.\n4. **Default bus is for AWS-service events only.** Application\n   events on the default bus mix with EC2\u002FGuardDuty\u002FSecurity Hub\n   events and complicate access control, schema discovery, and\n   retention. Use a custom bus for application events.\n5. **Schedule rules are NOT EventBridge Scheduler.** Schedule rules\n   (`put-rule --schedule-expression`) are the legacy path. Scheduler\n   (`scheduler create-schedule`) is the modern path with per-schedule\n   IAM roles, timezones, and one-time schedules. Prefer Scheduler for\n   any new time-based workflow.\n\n## Pre-flight: data requirements\n\nThe required-data command listing (event source, sample payload, target ARN, region, existing rules, producer accounts, existing DLQs) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand gathering the required inputs.\n\n**If the input is malformed** (no event source for a pattern rule,\nno target ARN, ambiguous bus), emit:\n\n```text\nPLAN: \u003Creference>\nRULE: \u003Crule-name or \"unknown\">\nVERDICT: PREREQUISITES_MISSING\nGAP: Cannot generate deployment plan — required inputs missing.\n     Re-supply: event source + detail-type (pattern rules) OR\n     schedule expression (schedule rules), and at least one target\n     ARN.\n```\n\n## Process — Deployment plan (apply in order)\n\n### Step 0: Expert knowledge — non-obvious EventBridge behaviors\n\nStep 0 expert-knowledge bullets (PutEvents ingestion, pattern JSONPath-like, per-target transformer, silent DLQ ARNs, schedule syntax, cross-account gates, size caps, API-destination limits, replay semantics, quotas, global endpoints, schema discovery) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand a plan depends on a non-obvious behaviour.\n\n### Step 1: Pick pattern vs schedule rule\n\n```\nIs the trigger an event on a bus?\n├─ Yes → Event-pattern rule (put-rule --event-pattern)\n│        ├─ AWS service event? → default bus\n│        ├─ Application event? → custom bus (Step 7)\n│        └─ Partner event? → partner bus \u002F SaaS partner integration\n└─ No  → Time-based?\n        ├─ New workload → EventBridge Scheduler (Step 9) — preferred\n        └─ Existing rule-based cron → Schedule rule (put-rule --schedule-expression)\n```\n\nStep 1 put-rule CLI examples (pattern rule, cron schedule rule, rate rule) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand emitting the put-rule command for the chosen rule type.\n\n| Dimension | Pattern rule | Schedule rule |\n|---|---|---|\n| Trigger | Matching event on bus | Cron\u002Frate expression |\n| Source | `--event-pattern` JSON | `--schedule-expression` string |\n| Use case | Event-driven automation | Time-based job |\n| Modern alternative | n\u002Fa | EventBridge Scheduler (Step 9) |\n\n### Step 2: Write the event pattern\n\nFilter operators (Appendix A has the full table):\n\n```json\n{\n  \"source\": [\"aws.guardduty\"],\n  \"detail-type\": [\"GuardDuty Finding\"],\n  \"detail\": {\n    \"severity\": [{\"numeric\": [\">=\", 7]}],\n    \"service\": {\"action\": {\"networkConnectionAction\": {\"connectionDirection\": [\"IN\"]}}}\n  }\n}\n```\n\nStep 2 filter-operator table moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand authoring an event pattern filter.\n\nStep 2 test-event-pattern validation CLI moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand validating the pattern before put-rule.\n\nA pattern that returns no matches on a real sample will never fire in\nproduction. Always test.\n\n### Step 3: Pick target type\n\nStep 3 target-type comparison table (Lambda, SFN, SQS, SNS, API destination, ECS, SSM, Batch, Redshift, SageMaker, API Gateway, Firehose, Inspector) moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand choosing a target type.\n\nTarget wiring pattern:\n\nStep 3 CLI (put-targets with DLQ + RetryPolicy, lambda add-permission, get-policy verification) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand emitting the target wiring commands.\n\n### Step 4: Wire retry policy and DLQ\n\nEvery target MUST have BOTH a retry policy and a DLQ. Defaults (185\nretries, 24h max age) are usually too aggressive.\n\n| Workload | RetryAttempts | EventAge | DLQ |\n|---|---|---|---|\n| Fast, transient failures (Lambda throttled) | 3 | 900s (15 min) | Yes |\n| User-facing API destination | 5 | 3600s (1h) | Yes |\n| Long-running Step Functions workflow | 2 | 86400s (24h) | Yes |\n| Compliance audit (must not lose) | 185 (default) | 86400s | Yes |\n\nCreate the DLQ first, then attach:\n\nStep 4 CLI (create-queue with 14-day retention, put-targets attach, CloudWatch DLQ-depth alarm) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand wiring retry policy, DLQ, and the DLQ alarm.\n\n### Step 5: Configure input transformation\n\n`InputTransformer` reshapes the matched event for the target. Two\nparts: `InputPathsMap` (extract values from the event) and\n`InputTemplate` (build the new payload).\n\nStep 5 InputTransformer CLI (InputPathsMap + InputTemplate) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring input transformation.\n\nKey rules:\n- `InputPathsMap` values are JSONPath strings starting with `$.`\n- `\u003Cplaceholder>` in `InputTemplate` references `InputPathsMap` keys\n- For string values in JSON output, wrap placeholder in quotes: `\"\u003Cuser>\"`\n- For non-string values (numbers, objects, arrays), use bare: `\u003Cvalue>`\n- A target without an `InputTransformer` receives the **full original\n  event envelope** (including `version`, `id`, `time`, `source`,\n  `detail-type`, `detail`, `account`, `region`)\n\nStep 5 per-target-type InputTemplate patterns moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand choosing an InputTemplate shape.\n\n### Step 6: Deploy cross-account event routing\n\nStep 6 cross-account CLI (receiving-bus put-permission with SourceAccount, producer PutEvents with bus ARN, org-wide PrincipalOrgID) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand deploying cross-account routing.\n\n### Step 7: Use custom event bus vs default\n\nStep 7 bus selection (bus-type table, create-event-bus CLI, naming conventions, cross-bus routing limit) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand choosing or creating the bus.\n\n### Step 8: Configure archive and replay\n\nStep 8 CLI (create-archive, start-replay) and the critical replay warnings moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring archives or a replay.\n\n### Step 9: Pick between Rules, Pipes, Scheduler\n\n```\nIs the source a stream or queue (DynamoDB Streams, Kinesis, SQS, MQ)?\n├─ Yes → EventBridge Pipes (create-pipe)\n└─ No  → Is the trigger time-based (cron\u002Frate)?\n        ├─ Yes → EventBridge Scheduler (create-schedule) for new work\n        │         OR schedule rule (put-rule --schedule-expression) for legacy\n        └─ No  → EventBridge rule (put-rule --event-pattern)\n```\n\n| Dimension | Rule | Pipes | Scheduler |\n|---|---|---|---|\n| Source | Event bus | DynamoDB Streams \u002F Kinesis \u002F SQS \u002F MQ \u002F MSK | Time-based |\n| Filtering | EventPattern | FilterCriteria | n\u002Fa |\n| Enrichment | InputTransformer | Lambda \u002F SFN \u002F API destination in-between | n\u002Fa |\n| Per-schedule management | n\u002Fa | n\u002Fa | First-class resource |\n| Quota | 300 rules per bus | 200 pipes per region (soft) | 1M schedules per account |\n| Use case | Service event routing | Stream\u002Fqueue fan-out | Time-based triggers |\n\nFor any new time-based workflow, default to Scheduler unless event-\npattern matching is required.\n\n### Step 10: Configure global endpoints\n\nStep 10 create-endpoint CLI and equivalence requirements moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring multi-region failover.\n\n### Step 11: Enable Schema Registry\n\nStep 11 CLI (create-registry, create-discoverer) and schema-discovery notes moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand enabling schema discovery.\n\n### Step 12: Verify the deployment\n\nStep 12 verification CLI (describe-rule, list-targets-by-rule, Lambda policy, DLQ depth, bus policy, archive, test-event-pattern, CloudWatch Invocations\u002FFailedInvocations) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand verifying the deployment end to end.\n\n## Output format\n\n```text\nPLAN: \u003Creference>\nRULE:\n  Name: \u003Crule-name>\n  Bus: \u003Cbus-name>\n  Type: event-pattern | schedule\n  Pattern: \u003Cpattern summary>\n  Schedule: \u003Ccron\u002Frate if schedule rule>\n  State: ENABLED\nTARGETS:\n  - \u003Ctarget-id> (\u003Ctarget-type>): \u003Ctarget-arn>\n    RetryPolicy: \u003Cattempts> \u002F \u003Cmax-age>\n    DeadLetterConfig: \u003Cdlq-arn>\n    InputTransformer: \u003Cyes — describe map | no — full event>\n    InvocationPermission: \u003Cverified | pending>\nRETRY: \u003Cpolicy summary>\nDLQ: \u003Cdlq-arn with retention>\nINPUT_TRANSFORM: \u003Cmap summary or \"full event\">\nCROSS_ACCOUNT: \u003Cnone | bus policy + target ACL summary>\nARCHIVE: \u003Cnone | archive-name with retention>\nPREREQUISITES:\n  [x] Pattern validated via TestEventPattern\n  [x] Targets exist and ARNs verified\n  [x] DLQs exist with 14-day retention\n  [x] Lambda invocation permissions granted\n  [x] Bus policy attached (cross-account only)\n  [x] CloudWatch alarm on DLQ depth\n  [x] Idempotency note for consumer\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nGAP: \u003Cif PREREQUISITES_MISSING, the specific missing item(s)>\nTEMPLATE: \u003CCLI snippet for put-rule + put-targets + add-permission>\n```\n\n### Worked example — READY_TO_DEPLOY, GuardDuty to Lambda\n\n```text\nPLAN: guardduty-remediation-deploy\nRULE:\n  Name: guardduty-high-severity\n  Bus: default\n  Type: event-pattern\n  Pattern: source=aws.guardduty, detail-type=GuardDuty Finding, detail.severity>=7\n  State: ENABLED\nTARGETS:\n  - isolate-instance (Lambda): arn:aws:lambda:us-east-1:111111111111:function:isolate-instance\n    RetryPolicy: 3 attempts \u002F 900s max age (fail-fast for security)\n    DeadLetterConfig: arn:aws:sqs:us-east-1:111111111111:eventbridge-guardduty-high-severity-dlq\n    InputTransformer: no (Lambda handles full event)\n    InvocationPermission: verified\nRETRY: 3 attempts \u002F 15 min\nDLQ: eventbridge-guardduty-high-severity-dlq (14-day retention)\nINPUT_TRANSFORM: full event\nCROSS_ACCOUNT: none\nARCHIVE: none (compliance archive recommended)\nPREREQUISITES:\n  [x] Pattern validated via TestEventPattern\n  [x] Targets exist and ARNs verified\n  [x] DLQ exists with 14-day retention\n  [x] Lambda invocation permission granted\n  [x] CloudWatch alarm on DLQ depth configured\n  [x] Idempotency note: consumer dedupes on detail.id (finding ID)\nVERDICT: READY_TO_DEPLOY\nGAP: None\nTEMPLATE:\n  aws events put-rule --name guardduty-high-severity --event-bus-name default --event-pattern '{\"source\":[\"aws.guardduty\"],\"detail-type\":[\"GuardDuty Finding\"],\"detail\":{\"severity\":[{\"numeric\":[\">=\",7]}]}}' --state ENABLED\n  aws sqs create-queue --queue-name eventbridge-guardduty-high-severity-dlq\n  aws sqs set-queue-attributes --queue-url https:\u002F\u002Fsqs.us-east-1.amazonaws.com\u002F111111111111\u002Feventbridge-guardduty-high-severity-dlq --attributes MessageRetentionPeriod=1209600\n  aws events put-targets --rule guardduty-high-severity --event-bus-name default --targets '[{\"Id\":\"isolate-instance\",\"Arn\":\"arn:aws:lambda:us-east-1:111111111111:function:isolate-instance\",\"DeadLetterConfig\":{\"Arn\":\"arn:aws:sqs:us-east-1:111111111111:eventbridge-guardduty-high-severity-dlq\"},\"RetryPolicy\":{\"MaximumRetryAttempts\":3,\"MaximumEventAgeInSeconds\":900}}]'\n  aws lambda add-permission --function-name isolate-instance --statement-id EventBridgeInvoke-guardduty-high-severity --action lambda:InvokeFunction --principal events.amazonaws.com --source-arn arn:aws:events:us-east-1:111111111111:rule\u002Fdefault\u002Fguardduty-high-severity --source-account 111111111111\n```\n\n### Worked example — PREREQUISITES_MISSING, no DLQ\n\nThe PREREQUISITES_MISSING worked example (CodeBuild failure notification without DLQ\u002Fidempotency) moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nLoad on demand citing the negative-path verdict format.\n\n## Anti-Patterns — NEVER do these things\n\n- NEVER ship a target without a DLQ. EventBridge drops events\n  silently after the retry window. A target without\n  `DeadLetterConfig` is silent data loss.\n\n- NEVER assume single-delivery. EventBridge is at-least-once.\n  Consumers MUST be idempotent — duplicate notifications, duplicate\n  charges, duplicate resource creation are all expected production\n  behaviour without dedup.\n\n- NEVER use the default bus for application events. The default bus\n  receives AWS service events. Mixing application events with\n  service events complicates routing, access control, and schema\n  discovery. Use a custom bus.\n\n- NEVER confuse `EventPattern` with `InputTransformer`.\n  `EventPattern` filters which events match. `InputTransformer`\n  reshapes the matched event for the target. Trying to filter in\n  the transformer (or transform in the pattern) is a silent no-op.\n\n- NEVER use `aws:SourceIp` as the sole condition for cross-account\n  `PutEvents`. IP-based restrictions are bypassable. Use\n  `aws:SourceAccount` or `aws:PrincipalOrgID`.\n\n- NEVER assume rule ENABLED means targets receive events. A rule\n  can be ENABLED with zero targets, or targets without invocation\n  permissions. Always verify with `list-targets-by-rule` and a\n  sample `TestEventPattern`.\n\n- NEVER assume event ordering across rules. EventBridge does not\n  guarantee delivery order across rules on the same bus. If order\n  matters (e.g., create-then-update), serialize via SQS FIFO or\n  Step Functions.\n\n- NEVER use EventBridge cron rules for new time-based workflows\n  when EventBridge Scheduler is available. Scheduler gives\n  per-schedule management, timezone support, start\u002Fend windows, and\n  one-time schedules.\n\n- NEVER forget the Lambda invocation permission. A target without\n  `lambda:AddPermission` for `events.amazonaws.com` produces silent\n  non-delivery. The rule matches; the Lambda never runs.\n\n- NEVER use `PutEvents` to deliver payloads over 256 KB. The API\n  rejects them. Park large payloads in S3 and reference by URI in\n  the event detail.\n\n- NEVER assume `put-targets` validates the DLQ ARN. A non-existent\n  DLQ ARN is accepted silently; the first failed delivery then\n  fails to write to the DLQ — double silent failure. Always verify\n  the DLQ exists first.\n\n- NEVER archive events on a high-volume bus without a retention\n  cap. Archives bill per-event-month. A 1M events\u002Fday bus with\n  90-day retention is 90M event-months. Default to 7-30 days for\n  operational replay.\n\n- NEVER enable schema discovery on a bus that receives untrusted\n  publisher events. Schema discovery captures event shapes;\n  attacker-crafted events pollute the registry.\n\n- NEVER assume a global endpoint replicates rules. Global endpoints\n  replicate EVENTS between regional buses. Rules are regional —\n  both regions must have equivalent rule configurations. A global\n  endpoint without matching rules on the secondary bus fails\n  silently during failover.\n\n- NEVER deliver to an API destination without monitoring\n  `InvocationHttpStatusCode`. A revoked OAuth credential or rotated\n  API key produces silent delivery failure until the DLQ fills.\n\n- NEVER use a cron expression with both day-of-month and day-of-week\n  set in an EventBridge rule (rule syntax requires `?` in one of\n  them). The rule creation will fail validation.\n\n## Pre-flight safety checks (run before applying any deploy CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing\n  operation (`put-rule`, `put-targets`, `put-permission`,\n  `create-event-bus`, `create-archive`, `start-replay`,\n  `create-endpoint`), emit:\n  `CONFIRM: About to \u003Caction> on bus \u003Cbus> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`\n\n- **Test the pattern first.** Before `put-rule`, run\n  `test-event-pattern` against a known-good sample event. A pattern\n  that returns no matches in test will never fire in production.\n\n- **Verify the DLQ exists** before `put-targets`. Run\n  `aws sqs get-queue-url --queue-name eventbridge-\u003Crule>-dlq`. A\n  non-existent DLQ ARN is accepted silently and produces double\n  silent failure on the first error.\n\n- **Verify the Lambda invocation permission** after `put-targets`:\n  `aws lambda get-policy --function-name \u003Cfn> --query 'Policy'`. A\n  missing `events.amazonaws.com` principal is the most common\n  silent failure.\n\n- **Verify the target ARN region matches the bus region.** A\n  cross-region target ARN in `put-targets` produces silent\n  non-delivery. Use a global endpoint for cross-region delivery.\n\n- **For cross-account rules**, verify the producing account has\n  `events:PutEvents` on the receiving bus via bus policy. Test with\n  a sample `PutEvents` from the producer before going live.\n\n- **For global endpoints**, verify both regional buses have\n  equivalent rules and targets. A failover to a bus without\n  matching rules is silent event loss.\n\n- **Map the rule graph** before adding a new rule that triggers a\n  publishing Lambda. Detect cycles. A circular dependency cascades\n  silently.\n\n## Appendix A — Event pattern operators\n\nAppendix A operator reference table and combination note moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand authoring an event pattern filter.\n\n## Appendix B — Common AWS event sources\n\nAppendix B common AWS event-source catalog (EC2, GuardDuty, Security Hub, CodeBuild, Auto Scaling, S3, CloudWatch, Sign-In, IAM, Health) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand matching a common AWS service event.\n\n## Appendix C — Decision tree (which architecture to deploy)\n\n```\nIs the source an AWS service event?\n├─ Yes → Use the default bus.\n│        └─ Is it a stream\u002Fqueue source (DynamoDB Streams, Kinesis, SQS, MQ)?\n│           ├─ Yes → Use EventBridge Pipes (Step 9).\n│           └─ No  → Rule + target on default bus (Step 1-5).\n└─ No  → Is it time-based (cron\u002Frate)?\n        ├─ Yes → EventBridge Scheduler (Step 9) for new work.\n        └─ No  → Custom bus + rule + target (Step 7 + 1-5).\n\nFor rule + target deployments:\n- Always attach DLQ (Step 4).\n- Always note consumer idempotency (Step 5 critical-rule #2).\n- Run the pre-flight safety checks before any state-changing CLI.\n- For multi-region resilience, use global endpoints (Step 10).\n```\n\n## Expert heuristic: \"The 5-point deployment gate\"\n\nThe 5-point deployment gate (pattern validates, target ARNs resolve, DLQ 14-day retention, invocation permissions, consumer idempotency noted) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand deciding READY_TO_DEPLOY vs PREREQUISITES_MISSING.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (global endpoints GA, Scheduler, Pipes enhancements, Schema Registry, API destinations, PutEvents limits, PrincipalOrgID routing) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand checking whether a newer AWS feature changes the plan.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — the PREREQUISITES_MISSING worked example (CodeBuild, no DLQ), moved from SKILL.md.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — pre-flight data sources, per-step deploy CLI (rule\u002Ftargets\u002FDLQ alarm\u002Finput-transformer\u002Fcross-account\u002Fbus\u002Farchive\u002Fglobal endpoints\u002FSchema Registry), and Step 12 verification commands, moved from SKILL.md.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset, Step 0 expert knowledge, Step 7 bus selection, Appendix B event-source catalog, the 5-point deployment gate heuristic, and recent AWS features, moved from SKILL.md.\n- [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md) — rules\u002Ftargets reference, plus the Step 2\u002FAppendix A operator table, Step 3 target-type table, and Step 5 input-transformer patterns moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F App Integration — EventBridge Rule Provisioning.\n\n## AWS documentation\n\n- **Amazon EventBridge User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-what-is.html\n- **EventBridge Rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-rules.html\n- **EventBridge Event Patterns** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-event-patterns.html\n- **EventBridge Targets** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-targets.html\n- **EventBridge Input Transformation** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-transform-target-input.html\n- **EventBridge Scheduler** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fscheduler\u002Flatest\u002FUserGuide\u002Fwhat-is-scheduler.html\n- **EventBridge Pipes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-pipes.html\n- **EventBridge Global Endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-global-endpoints.html\n- **EventBridge Schema Registry** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-schema.html\n- **EventBridge Archive and Replay** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-archive.html\n","# EventBridge Rule Deployer\n\n## Mindset\n\nMindset prose (stateless filter + fan-out dispatcher, pattern-vs-schedule fork, target wiring as the bug surface, at-least-once contract) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand framing a rule deployment.\n\n## Quick navigation\n\n| You want to... | Go to |\n|---|---|\n| Pick pattern vs schedule rule | Step 1 |\n| Write an event pattern (filtering) | Step 2 + Appendix A |\n| Pick a target type | Step 3 |\n| Wire retry policy and DLQ | Step 4 |\n| Configure input transformation | Step 5 |\n| Deploy cross-account event routing | Step 6 |\n| Use custom event bus vs default | Step 7 |\n| Configure archive and replay | Step 8 |\n| Pick between Rules, Pipes, Scheduler | Step 9 |\n| Configure global endpoints | Step 10 |\n| Enable Schema Registry | Step 11 |\n| Verify the deployment | Step 12 + Pre-flight |\n| Avoid silent-delivery pitfalls | Anti-Patterns |\n| Reduce a partial deployment to READY_TO_DEPLOY | Output format |\n\n## Critical rules at a glance (do NOT bury these)\n\n1. **Every target MUST have a DLQ.** EventBridge retries for up to\n   24 hours; after exhaustion, the event is dropped silently unless\n   `DeadLetterConfig` is set per target. A target without DLQ is\n   silent data loss.\n2. **Lambda targets need `lambda:AddPermission`.** EventBridge\n   cannot invoke a Lambda without an explicit\n   `lambda:InvokeFunction` grant for `events.amazonaws.com`. A\n   missing permission is the most common silent non-delivery\n   failure — the rule matches, the Lambda never runs.\n3. **Pattern and InputTransformer are separate concerns.**\n   `EventPattern` filters which events match. `InputTransformer`\n   reshapes the matched event for the target. Filtering in the\n   transformer is a silent no-op; transforming in the pattern is\n   ignored.\n4. **Default bus is for AWS-service events only.** Application\n   events on the default bus mix with EC2\u002FGuardDuty\u002FSecurity Hub\n   events and complicate access control, schema discovery, and\n   retention. Use a custom bus for application events.\n5. **Schedule rules are NOT EventBridge Scheduler.** Schedule rules\n   (`put-rule --schedule-expression`) are the legacy path. Scheduler\n   (`scheduler create-schedule`) is the modern path with per-schedule\n   IAM roles, timezones, and one-time schedules. Prefer Scheduler for\n   any new time-based workflow.\n\n## Pre-flight: data requirements\n\nThe required-data command listing (event source, sample payload, target ARN, region, existing rules, producer accounts, existing DLQs) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand gathering the required inputs.\n\n**If the input is malformed** (no event source for a pattern rule,\nno target ARN, ambiguous bus), emit:\n\n```text\nPLAN: \u003Creference>\nRULE: \u003Crule-name or \"unknown\">\nVERDICT: PREREQUISITES_MISSING\nGAP: Cannot generate deployment plan — required inputs missing.\n     Re-supply: event source + detail-type (pattern rules) OR\n     schedule expression (schedule rules), and at least one target\n     ARN.\n```\n\n## Process — Deployment plan (apply in order)\n\n### Step 0: Expert knowledge — non-obvious EventBridge behaviors\n\nStep 0 expert-knowledge bullets (PutEvents ingestion, pattern JSONPath-like, per-target transformer, silent DLQ ARNs, schedule syntax, cross-account gates, size caps, API-destination limits, replay semantics, quotas, global endpoints, schema discovery) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand a plan depends on a non-obvious behaviour.\n\n### Step 1: Pick pattern vs schedule rule\n\n```\nIs the trigger an event on a bus?\n├─ Yes → Event-pattern rule (put-rule --event-pattern)\n│        ├─ AWS service event? → default bus\n│        ├─ Application event? → custom bus (Step 7)\n│        └─ Partner event? → partner bus \u002F SaaS partner integration\n└─ No  → Time-based?\n        ├─ New workload → EventBridge Scheduler (Step 9) — preferred\n        └─ Existing rule-based cron → Schedule rule (put-rule --schedule-expression)\n```\n\nStep 1 put-rule CLI examples (pattern rule, cron schedule rule, rate rule) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand emitting the put-rule command for the chosen rule type.\n\n| Dimension | Pattern rule | Schedule rule |\n|---|---|---|\n| Trigger | Matching event on bus | Cron\u002Frate expression |\n| Source | `--event-pattern` JSON | `--schedule-expression` string |\n| Use case | Event-driven automation | Time-based job |\n| Modern alternative | n\u002Fa | EventBridge Scheduler (Step 9) |\n\n### Step 2: Write the event pattern\n\nFilter operators (Appendix A has the full table):\n\n```json\n{\n  \"source\": [\"aws.guardduty\"],\n  \"detail-type\": [\"GuardDuty Finding\"],\n  \"detail\": {\n    \"severity\": [{\"numeric\": [\">=\", 7]}],\n    \"service\": {\"action\": {\"networkConnectionAction\": {\"connectionDirection\": [\"IN\"]}}}\n  }\n}\n```\n\nStep 2 filter-operator table moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand authoring an event pattern filter.\n\nStep 2 test-event-pattern validation CLI moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand validating the pattern before put-rule.\n\nA pattern that returns no matches on a real sample will never fire in\nproduction. Always test.\n\n### Step 3: Pick target type\n\nStep 3 target-type comparison table (Lambda, SFN, SQS, SNS, API destination, ECS, SSM, Batch, Redshift, SageMaker, API Gateway, Firehose, Inspector) moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand choosing a target type.\n\nTarget wiring pattern:\n\nStep 3 CLI (put-targets with DLQ + RetryPolicy, lambda add-permission, get-policy verification) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand emitting the target wiring commands.\n\n### Step 4: Wire retry policy and DLQ\n\nEvery target MUST have BOTH a retry policy and a DLQ. Defaults (185\nretries, 24h max age) are usually too aggressive.\n\n| Workload | RetryAttempts | EventAge | DLQ |\n|---|---|---|---|\n| Fast, transient failures (Lambda throttled) | 3 | 900s (15 min) | Yes |\n| User-facing API destination | 5 | 3600s (1h) | Yes |\n| Long-running Step Functions workflow | 2 | 86400s (24h) | Yes |\n| Compliance audit (must not lose) | 185 (default) | 86400s | Yes |\n\nCreate the DLQ first, then attach:\n\nStep 4 CLI (create-queue with 14-day retention, put-targets attach, CloudWatch DLQ-depth alarm) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand wiring retry policy, DLQ, and the DLQ alarm.\n\n### Step 5: Configure input transformation\n\n`InputTransformer` reshapes the matched event for the target. Two\nparts: `InputPathsMap` (extract values from the event) and\n`InputTemplate` (build the new payload).\n\nStep 5 InputTransformer CLI (InputPathsMap + InputTemplate) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring input transformation.\n\nKey rules:\n- `InputPathsMap` values are JSONPath strings starting with `$.`\n- `\u003Cplaceholder>` in `InputTemplate` references `InputPathsMap` keys\n- For string values in JSON output, wrap placeholder in quotes: `\"\u003Cuser>\"`\n- For non-string values (numbers, objects, arrays), use bare: `\u003Cvalue>`\n- A target without an `InputTransformer` receives the **full original\n  event envelope** (including `version`, `id`, `time`, `source`,\n  `detail-type`, `detail`, `account`, `region`)\n\nStep 5 per-target-type InputTemplate patterns moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand choosing an InputTemplate shape.\n\n### Step 6: Deploy cross-account event routing\n\nStep 6 cross-account CLI (receiving-bus put-permission with SourceAccount, producer PutEvents with bus ARN, org-wide PrincipalOrgID) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand deploying cross-account routing.\n\n### Step 7: Use custom event bus vs default\n\nStep 7 bus selection (bus-type table, create-event-bus CLI, naming conventions, cross-bus routing limit) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand choosing or creating the bus.\n\n### Step 8: Configure archive and replay\n\nStep 8 CLI (create-archive, start-replay) and the critical replay warnings moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring archives or a replay.\n\n### Step 9: Pick between Rules, Pipes, Scheduler\n\n```\nIs the source a stream or queue (DynamoDB Streams, Kinesis, SQS, MQ)?\n├─ Yes → EventBridge Pipes (create-pipe)\n└─ No  → Is the trigger time-based (cron\u002Frate)?\n        ├─ Yes → EventBridge Scheduler (create-schedule) for new work\n        │         OR schedule rule (put-rule --schedule-expression) for legacy\n        └─ No  → EventBridge rule (put-rule --event-pattern)\n```\n\n| Dimension | Rule | Pipes | Scheduler |\n|---|---|---|---|\n| Source | Event bus | DynamoDB Streams \u002F Kinesis \u002F SQS \u002F MQ \u002F MSK | Time-based |\n| Filtering | EventPattern | FilterCriteria | n\u002Fa |\n| Enrichment | InputTransformer | Lambda \u002F SFN \u002F API destination in-between | n\u002Fa |\n| Per-schedule management | n\u002Fa | n\u002Fa | First-class resource |\n| Quota | 300 rules per bus | 200 pipes per region (soft) | 1M schedules per account |\n| Use case | Service event routing | Stream\u002Fqueue fan-out | Time-based triggers |\n\nFor any new time-based workflow, default to Scheduler unless event-\npattern matching is required.\n\n### Step 10: Configure global endpoints\n\nStep 10 create-endpoint CLI and equivalence requirements moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand configuring multi-region failover.\n\n### Step 11: Enable Schema Registry\n\nStep 11 CLI (create-registry, create-discoverer) and schema-discovery notes moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand enabling schema discovery.\n\n### Step 12: Verify the deployment\n\nStep 12 verification CLI (describe-rule, list-targets-by-rule, Lambda policy, DLQ depth, bus policy, archive, test-event-pattern, CloudWatch Invocations\u002FFailedInvocations) moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nLoad on demand verifying the deployment end to end.\n\n## Output format\n\n```text\nPLAN: \u003Creference>\nRULE:\n  Name: \u003Crule-name>\n  Bus: \u003Cbus-name>\n  Type: event-pattern | schedule\n  Pattern: \u003Cpattern summary>\n  Schedule: \u003Ccron\u002Frate if schedule rule>\n  State: ENABLED\nTARGETS:\n  - \u003Ctarget-id> (\u003Ctarget-type>): \u003Ctarget-arn>\n    RetryPolicy: \u003Cattempts> \u002F \u003Cmax-age>\n    DeadLetterConfig: \u003Cdlq-arn>\n    InputTransformer: \u003Cyes — describe map | no — full event>\n    InvocationPermission: \u003Cverified | pending>\nRETRY: \u003Cpolicy summary>\nDLQ: \u003Cdlq-arn with retention>\nINPUT_TRANSFORM: \u003Cmap summary or \"full event\">\nCROSS_ACCOUNT: \u003Cnone | bus policy + target ACL summary>\nARCHIVE: \u003Cnone | archive-name with retention>\nPREREQUISITES:\n  [x] Pattern validated via TestEventPattern\n  [x] Targets exist and ARNs verified\n  [x] DLQs exist with 14-day retention\n  [x] Lambda invocation permissions granted\n  [x] Bus policy attached (cross-account only)\n  [x] CloudWatch alarm on DLQ depth\n  [x] Idempotency note for consumer\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nGAP: \u003Cif PREREQUISITES_MISSING, the specific missing item(s)>\nTEMPLATE: \u003CCLI snippet for put-rule + put-targets + add-permission>\n```\n\n### Worked example — READY_TO_DEPLOY, GuardDuty to Lambda\n\n```text\nPLAN: guardduty-remediation-deploy\nRULE:\n  Name: guardduty-high-severity\n  Bus: default\n  Type: event-pattern\n  Pattern: source=aws.guardduty, detail-type=GuardDuty Finding, detail.severity>=7\n  State: ENABLED\nTARGETS:\n  - isolate-instance (Lambda): arn:aws:lambda:us-east-1:111111111111:function:isolate-instance\n    RetryPolicy: 3 attempts \u002F 900s max age (fail-fast for security)\n    DeadLetterConfig: arn:aws:sqs:us-east-1:111111111111:eventbridge-guardduty-high-severity-dlq\n    InputTransformer: no (Lambda handles full event)\n    InvocationPermission: verified\nRETRY: 3 attempts \u002F 15 min\nDLQ: eventbridge-guardduty-high-severity-dlq (14-day retention)\nINPUT_TRANSFORM: full event\nCROSS_ACCOUNT: none\nARCHIVE: none (compliance archive recommended)\nPREREQUISITES:\n  [x] Pattern validated via TestEventPattern\n  [x] Targets exist and ARNs verified\n  [x] DLQ exists with 14-day retention\n  [x] Lambda invocation permission granted\n  [x] CloudWatch alarm on DLQ depth configured\n  [x] Idempotency note: consumer dedupes on detail.id (finding ID)\nVERDICT: READY_TO_DEPLOY\nGAP: None\nTEMPLATE:\n  aws events put-rule --name guardduty-high-severity --event-bus-name default --event-pattern '{\"source\":[\"aws.guardduty\"],\"detail-type\":[\"GuardDuty Finding\"],\"detail\":{\"severity\":[{\"numeric\":[\">=\",7]}]}}' --state ENABLED\n  aws sqs create-queue --queue-name eventbridge-guardduty-high-severity-dlq\n  aws sqs set-queue-attributes --queue-url https:\u002F\u002Fsqs.us-east-1.amazonaws.com\u002F111111111111\u002Feventbridge-guardduty-high-severity-dlq --attributes MessageRetentionPeriod=1209600\n  aws events put-targets --rule guardduty-high-severity --event-bus-name default --targets '[{\"Id\":\"isolate-instance\",\"Arn\":\"arn:aws:lambda:us-east-1:111111111111:function:isolate-instance\",\"DeadLetterConfig\":{\"Arn\":\"arn:aws:sqs:us-east-1:111111111111:eventbridge-guardduty-high-severity-dlq\"},\"RetryPolicy\":{\"MaximumRetryAttempts\":3,\"MaximumEventAgeInSeconds\":900}}]'\n  aws lambda add-permission --function-name isolate-instance --statement-id EventBridgeInvoke-guardduty-high-severity --action lambda:InvokeFunction --principal events.amazonaws.com --source-arn arn:aws:events:us-east-1:111111111111:rule\u002Fdefault\u002Fguardduty-high-severity --source-account 111111111111\n```\n\n### Worked example — PREREQUISITES_MISSING, no DLQ\n\nThe PREREQUISITES_MISSING worked example (CodeBuild failure notification without DLQ\u002Fidempotency) moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nLoad on demand citing the negative-path verdict format.\n\n## Anti-Patterns — NEVER do these things\n\n- NEVER ship a target without a DLQ. EventBridge drops events\n  silently after the retry window. A target without\n  `DeadLetterConfig` is silent data loss.\n\n- NEVER assume single-delivery. EventBridge is at-least-once.\n  Consumers MUST be idempotent — duplicate notifications, duplicate\n  charges, duplicate resource creation are all expected production\n  behaviour without dedup.\n\n- NEVER use the default bus for application events. The default bus\n  receives AWS service events. Mixing application events with\n  service events complicates routing, access control, and schema\n  discovery. Use a custom bus.\n\n- NEVER confuse `EventPattern` with `InputTransformer`.\n  `EventPattern` filters which events match. `InputTransformer`\n  reshapes the matched event for the target. Trying to filter in\n  the transformer (or transform in the pattern) is a silent no-op.\n\n- NEVER use `aws:SourceIp` as the sole condition for cross-account\n  `PutEvents`. IP-based restrictions are bypassable. Use\n  `aws:SourceAccount` or `aws:PrincipalOrgID`.\n\n- NEVER assume rule ENABLED means targets receive events. A rule\n  can be ENABLED with zero targets, or targets without invocation\n  permissions. Always verify with `list-targets-by-rule` and a\n  sample `TestEventPattern`.\n\n- NEVER assume event ordering across rules. EventBridge does not\n  guarantee delivery order across rules on the same bus. If order\n  matters (e.g., create-then-update), serialize via SQS FIFO or\n  Step Functions.\n\n- NEVER use EventBridge cron rules for new time-based workflows\n  when EventBridge Scheduler is available. Scheduler gives\n  per-schedule management, timezone support, start\u002Fend windows, and\n  one-time schedules.\n\n- NEVER forget the Lambda invocation permission. A target without\n  `lambda:AddPermission` for `events.amazonaws.com` produces silent\n  non-delivery. The rule matches; the Lambda never runs.\n\n- NEVER use `PutEvents` to deliver payloads over 256 KB. The API\n  rejects them. Park large payloads in S3 and reference by URI in\n  the event detail.\n\n- NEVER assume `put-targets` validates the DLQ ARN. A non-existent\n  DLQ ARN is accepted silently; the first failed delivery then\n  fails to write to the DLQ — double silent failure. Always verify\n  the DLQ exists first.\n\n- NEVER archive events on a high-volume bus without a retention\n  cap. Archives bill per-event-month. A 1M events\u002Fday bus with\n  90-day retention is 90M event-months. Default to 7-30 days for\n  operational replay.\n\n- NEVER enable schema discovery on a bus that receives untrusted\n  publisher events. Schema discovery captures event shapes;\n  attacker-crafted events pollute the registry.\n\n- NEVER assume a global endpoint replicates rules. Global endpoints\n  replicate EVENTS between regional buses. Rules are regional —\n  both regions must have equivalent rule configurations. A global\n  endpoint without matching rules on the secondary bus fails\n  silently during failover.\n\n- NEVER deliver to an API destination without monitoring\n  `InvocationHttpStatusCode`. A revoked OAuth credential or rotated\n  API key produces silent delivery failure until the DLQ fills.\n\n- NEVER use a cron expression with both day-of-month and day-of-week\n  set in an EventBridge rule (rule syntax requires `?` in one of\n  them). The rule creation will fail validation.\n\n## Pre-flight safety checks (run before applying any deploy CLI)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing\n  operation (`put-rule`, `put-targets`, `put-permission`,\n  `create-event-bus`, `create-archive`, `start-replay`,\n  `create-endpoint`), emit:\n  `CONFIRM: About to \u003Caction> on bus \u003Cbus> in account \u003Caccount>.\n  This affects \u003Cconsequence>. Proceed? (yes\u002Fno)`\n\n- **Test the pattern first.** Before `put-rule`, run\n  `test-event-pattern` against a known-good sample event. A pattern\n  that returns no matches in test will never fire in production.\n\n- **Verify the DLQ exists** before `put-targets`. Run\n  `aws sqs get-queue-url --queue-name eventbridge-\u003Crule>-dlq`. A\n  non-existent DLQ ARN is accepted silently and produces double\n  silent failure on the first error.\n\n- **Verify the Lambda invocation permission** after `put-targets`:\n  `aws lambda get-policy --function-name \u003Cfn> --query 'Policy'`. A\n  missing `events.amazonaws.com` principal is the most common\n  silent failure.\n\n- **Verify the target ARN region matches the bus region.** A\n  cross-region target ARN in `put-targets` produces silent\n  non-delivery. Use a global endpoint for cross-region delivery.\n\n- **For cross-account rules**, verify the producing account has\n  `events:PutEvents` on the receiving bus via bus policy. Test with\n  a sample `PutEvents` from the producer before going live.\n\n- **For global endpoints**, verify both regional buses have\n  equivalent rules and targets. A failover to a bus without\n  matching rules is silent event loss.\n\n- **Map the rule graph** before adding a new rule that triggers a\n  publishing Lambda. Detect cycles. A circular dependency cascades\n  silently.\n\n## Appendix A — Event pattern operators\n\nAppendix A operator reference table and combination note moved verbatim to [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md).\nLoad on demand authoring an event pattern filter.\n\n## Appendix B — Common AWS event sources\n\nAppendix B common AWS event-source catalog (EC2, GuardDuty, Security Hub, CodeBuild, Auto Scaling, S3, CloudWatch, Sign-In, IAM, Health) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand matching a common AWS service event.\n\n## Appendix C — Decision tree (which architecture to deploy)\n\n```\nIs the source an AWS service event?\n├─ Yes → Use the default bus.\n│        └─ Is it a stream\u002Fqueue source (DynamoDB Streams, Kinesis, SQS, MQ)?\n│           ├─ Yes → Use EventBridge Pipes (Step 9).\n│           └─ No  → Rule + target on default bus (Step 1-5).\n└─ No  → Is it time-based (cron\u002Frate)?\n        ├─ Yes → EventBridge Scheduler (Step 9) for new work.\n        └─ No  → Custom bus + rule + target (Step 7 + 1-5).\n\nFor rule + target deployments:\n- Always attach DLQ (Step 4).\n- Always note consumer idempotency (Step 5 critical-rule #2).\n- Run the pre-flight safety checks before any state-changing CLI.\n- For multi-region resilience, use global endpoints (Step 10).\n```\n\n## Expert heuristic: \"The 5-point deployment gate\"\n\nThe 5-point deployment gate (pattern validates, target ARNs resolve, DLQ 14-day retention, invocation permissions, consumer idempotency noted) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand deciding READY_TO_DEPLOY vs PREREQUISITES_MISSING.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (global endpoints GA, Scheduler, Pipes enhancements, Schema Registry, API destinations, PutEvents limits, PrincipalOrgID routing) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand checking whether a newer AWS feature changes the plan.\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — the PREREQUISITES_MISSING worked example (CodeBuild, no DLQ), moved from SKILL.md.\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — pre-flight data sources, per-step deploy CLI (rule\u002Ftargets\u002FDLQ alarm\u002Finput-transformer\u002Fcross-account\u002Fbus\u002Farchive\u002Fglobal endpoints\u002FSchema Registry), and Step 12 verification commands, moved from SKILL.md.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset, Step 0 expert knowledge, Step 7 bus selection, Appendix B event-source catalog, the 5-point deployment gate heuristic, and recent AWS features, moved from SKILL.md.\n- [references\u002Feventbridge-rules-and-targets.md](references\u002Feventbridge-rules-and-targets.md) — rules\u002Ftargets reference, plus the Step 2\u002FAppendix A operator table, Step 3 target-type table, and Step 5 input-transformer patterns moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F App Integration — EventBridge Rule Provisioning.\n\n## AWS documentation\n\n- **Amazon EventBridge User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-what-is.html\n- **EventBridge Rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-rules.html\n- **EventBridge Event Patterns** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-event-patterns.html\n- **EventBridge Targets** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-targets.html\n- **EventBridge Input Transformation** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-transform-target-input.html\n- **EventBridge Scheduler** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fscheduler\u002Flatest\u002FUserGuide\u002Fwhat-is-scheduler.html\n- **EventBridge Pipes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-pipes.html\n- **EventBridge Global Endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-global-endpoints.html\n- **EventBridge Schema Registry** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-schema.html\n- **EventBridge Archive and Replay** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-archive.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":42},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"requires_llm":37,"verdict_shape":38,"lifecycle_status":39,"invocation_schema":40,"supports_pipeline":37,"activation_triggers":41},"eventbridge, app-integration, event-driven, deploy, rules, targets, dlq","1","Jacky Chan — AWS Community Builder","aws-cloudops","AppIntegration","0.1.0","EventBridge, event bus, event pattern, scheduled rule, cron rule, rate rule, rule targets, dead-letter queue, DLQ, retry policy, input transformer, InputTemplate, cross-account events, event bus policy, custom event bus, archive and replay, EventBridge Scheduler, EventBridge Pipes, global endpoints, Schema Registry, API destination, provision rules","deploy","medium","false","capability","Provisioning new EventBridge rules (event-pattern or schedule), wiring targets (Lambda, Step Functions, SQS, SNS, ECS, API Destination, API Gateway, Kinesis, Redshift, SageMaker), configuring per-target DLQ and retry policy, setting up input transformation, deploying cross-account event bus permissions, creating custom event buses, configuring archives for replay, or deciding between Scheduler, Pipes, and Rules for a workload.","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Input: either (a) an event source and desired target (\"trigger Lambda X when GuardDuty fires severity >= 7\"), or (b) a schedule requirement (\"run this Step Functions every night at 2am UTC\"), or (c) a deployment plan request for an existing rule config. Output: deterministic PLAN block per rule — RULE\u002FTARGETS\u002FRETRY\u002F DLQ\u002FINPUT_TRANSFORM\u002FPREREQUISITES\u002FVERDICT — where VERDICT is READY_TO_DEPLOY (CLI plan complete and pre-flight green) or PREREQUISITES_MISSING (specific gap cited).","create EventBridge rule, deploy EventBridge rule, EventBridge target Lambda, EventBridge scheduled rule, EventBridge cron, EventBridge rate expression, event pattern matching, EventBridge input transformer, EventBridge DLQ, retry policy EventBridge, cross-account event bus, custom event bus, EventBridge archive replay, EventBridge API destination, EventBridge Scheduler vs rules, EventBridge Pipes vs rules, global endpoints EventBridge, Schema Registry","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan generation. Live deployment uses aws events put-rule, put-targets, put-events, test-event-pattern, create-event-bus, put-permission, create-archive, start-replay, describe-rule, list-targets-by-rule, aws lambda add-permission, aws scheduler create-schedule, and aws pipes create-pipe (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Feventbridge-rule-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill eventbridge-rule-deployer",{"tool":57,"command":58},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill eventbridge-rule-deployer",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill eventbridge-rule-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6744,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Feval\u002Ftest-cases.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Fbaselines\u002Fcross-account-bus-policy-deploy.md",984,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fbaselines\u002Fcross-account-bus-policy-deploy.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Fbaselines\u002Fdlq-missing-prerequisites.md",817,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fbaselines\u002Fdlq-missing-prerequisites.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Fbaselines\u002Fguardduty-lambda-ready-to-deploy.md",879,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fbaselines\u002Fguardduty-lambda-ready-to-deploy.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"evals\u002Fbaselines\u002Finput-transformer-lambda-deploy.md",972,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fbaselines\u002Finput-transformer-lambda-deploy.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"evals\u002Fbaselines\u002Fscheduled-step-functions-deploy.md",616,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fbaselines\u002Fscheduled-step-functions-deploy.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"evals\u002Feval_config.yaml",1829,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Feval_config.yaml",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Fevals.json",4558,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fevals.json",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Fprompts\u002Fcross-account-bus-policy-deploy.md",1111,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fprompts\u002Fcross-account-bus-policy-deploy.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Fprompts\u002Fdlq-missing-prerequisites.md",725,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fprompts\u002Fdlq-missing-prerequisites.md",{"path":108,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":109,"sourceHtmlUrl":110},"evals\u002Fprompts\u002Fguardduty-lambda-ready-to-deploy.md",820,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fprompts\u002Fguardduty-lambda-ready-to-deploy.md",{"path":112,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":113,"sourceHtmlUrl":114},"evals\u002Fprompts\u002Finput-transformer-lambda-deploy.md",1050,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fprompts\u002Finput-transformer-lambda-deploy.md",{"path":116,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":117,"sourceHtmlUrl":118},"evals\u002Fprompts\u002Fscheduled-step-functions-deploy.md",805,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fevals\u002Fprompts\u002Fscheduled-step-functions-deploy.md",{"path":120,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":121,"sourceHtmlUrl":122},"examples\u002Fend-to-end.md",7541,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fexamples\u002Fend-to-end.md",{"path":124,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fadvanced-patterns.md",10211,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":128,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Fdiagnostic-commands.md",10608,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":132,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":133,"sourceHtmlUrl":134},"references\u002Feventbridge-rules-and-targets.md",13247,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Freferences\u002Feventbridge-rules-and-targets.md",{"path":136,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":137,"sourceHtmlUrl":138},"references\u002Fworked-examples.md",1837,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Freferences\u002Fworked-examples.md",{"path":140,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":141,"sourceHtmlUrl":142},"skill.usf.yaml",4593,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Feventbridge-rule-deployer\u002Fskill.usf.yaml",[144,151,158,165,172,179],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]