[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACX1HZSYW6RVKBZ9JQJ3ZE":3,"skill-same:01M7ACX1HZSYW6RVKBZ9JQJ3ZE":142},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7ACX1HZSYW6RVKBZ9JQJ3ZE","ssm-automation-deployer",null,"Provisions AWS Systems Manager (SSM) Automation documents with production defaults: document type (Automation, Command, Session), schema version, parameters, mainSteps (aws:executeAwsApi, aws:runInstances, aws:invokeLambdaFunction, aws:sleep, aws:changeInstanceState, aws:branch), targets via resource groups and tags, rate control (concurrency, error threshold), automation execution role trust policy, SNS notifications, document sharing, version management, nested runbook, and EventBridge integration. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an SSM Automation runbook, designing multi-step remediation workflows, setting up aws:branch conditional routing, configuring rate control, or integrating EventBridge schedules. Triggers: create SSM Automation document, SSM runbook, aws:executeAwsApi, aws:invokeLambdaFunction, aws:branch, SSM rate control, SSM execution role, EventBridge SSM automation, nested runbook, SSM document version management.","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\u002Fssm-automation-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ssm-automation-deployer\ndescription: 'Provisions AWS Systems Manager (SSM) Automation documents with production defaults: document type (Automation, Command, Session), schema version, parameters, mainSteps (aws:executeAwsApi, aws:runInstances, aws:invokeLambdaFunction, aws:sleep, aws:changeInstanceState, aws:branch), targets via resource groups and tags, rate control (concurrency, error threshold), automation execution role trust policy, SNS notifications, document sharing, version management, nested runbook, and EventBridge integration. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an SSM Automation runbook, designing multi-step remediation workflows, setting up aws:branch conditional routing, configuring rate control, or integrating EventBridge schedules. Triggers: create SSM Automation document, SSM runbook, aws:executeAwsApi, aws:invokeLambdaFunction, aws:branch, SSM rate control, SSM execution role, EventBridge SSM automation, nested runbook, SSM document version management.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with ssm, iam, lambda, events, and sns access. Works with Terraform aws_ssm_document resources and CloudFormation AWS::SSM::Document templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, ssm, automation, runbook, cloudops, deploy, management, provisioning, remediation, eventbridge\n  dependencies: aws-orchestrator\n  keywords: aws, systems manager, ssm, automation, runbook, document, cloudops, deploy, provisioning, aws:executeAwsApi, aws:invokeLambdaFunction, aws:runInstances, aws:changeInstanceState, aws:sleep, aws:branch, rate control, concurrency, error threshold, resource groups, targets, execution role, sns notification, eventbridge, nested runbook, version management\n  when_to_use: Invoke when the user wants to create an SSM Automation document (runbook), design multi-step remediation or operational workflows, use aws:branch for conditional step routing, configure rate control (concurrency and error threshold) for target execution, set up the automation execution role with correct trust policy, wire SNS notifications on success\u002Ffailure, share documents (private vs public), manage document versions, build nested runbooks, or integrate with EventBridge for scheduled automations. Do NOT invoke for SSM Session Manager (use session skills), SSM Patch Manager (use patch skills), or SSM Parameter Store (use parameter skills).\n---\n\n# SSM Automation Deployer\n\nAn AWS CloudOps agent skill that provisions AWS Systems Manager (SSM)\nAutomation documents with correct production defaults. The skill walks\nthe operator through document type selection, schema version,\nparameter definition, mainSteps sequencing (aws:executeAwsApi,\naws:runInstances, aws:invokeLambdaFunction, aws:sleep,\naws:changeInstanceState, aws:branch), target collection via resource\ngroups and tags, rate control (concurrency, error threshold),\nautomation execution role trust policy, SNS notifications on\nsuccess\u002Ffailure, document sharing and version management, nested\nrunbook patterns, and EventBridge integration for scheduled\nautomations, captures all design decisions, and emits a\nREADY_TO_DEPLOY checklist with verification commands.\n\n## Activation keywords\n\ncreate SSM Automation document, SSM runbook, aws:executeAwsApi,\naws:invokeLambdaFunction, aws:branch conditional, SSM rate control,\nSSM automation execution role, EventBridge SSM automation, nested\nrunbook, SSM document version management, aws:runInstances,\naws:changeInstanceState.\n\n## STRICT output contract\n\nWhen this skill is invoked with an SSM-Automation-provisioning\nrequest (create a runbook, design a multi-step workflow, configure\nrate control or targets, wire SNS notifications, integrate\nEventBridge, or a partial configuration), the agent MUST respond with\nthe READY_TO_DEPLOY checklist defined in the \"Output format\" section\nusing the literal all-caps labels `SSM_AUTOMATION:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the\nchecklist with prose, headings, or disclaimers — emit the block as\nthe first lines of the response. This contract is what assertion-\nbased evals and downstream provisioning pipelines rely on; deviating\nfrom the literal labels breaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Document type and schema version | Core document setup |\n| Step 2 — Parameters | Input definition |\n| Step 3 — mainSteps and action types | Workflow steps |\n| Step 4 — aws:branch conditional routing | Conditional logic |\n| Step 5 — Targets (resource groups, tags) | Target collection |\n| Step 6 — Rate control | Concurrency and error threshold |\n| Step 7 — Automation execution role | IAM trust policy |\n| Step 8 — SNS notifications | Success\u002Ffailure alerts |\n| Step 9 — Document sharing and versions | Private vs public |\n| Step 10 — Nested runbook pattern | Composability |\n| Step 11 — EventBridge integration | Scheduled automations |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fstep-actions-and-branching.md | Step action detail |\n| references\u002Fexecution-role-and-targets.md | IAM + target collection detail |\n\n## Mindset\n\n**One-line takeaway:** An SSM Automation document (runbook) is a\nJSON\u002FYAML document that defines a sequence of steps (actions) that\nSSM executes on your behalf. Each step uses a predefined action type\n(aws:executeAwsApi, aws:invokeLambdaFunction, aws:runInstances,\naws:sleep, aws:changeInstanceState, aws:branch). The execution role\n(trust policy: `ssm.amazonaws.com`) grants SSM permission to perform\nthese actions. Rate control governs how many targets execute\nconcurrently and when to stop on errors.\n\nThree misconceptions dominate SSM Automation misdesign at provisioning\ntime:\n\n- **\"The execution role is the same as the instance role.\"** It is\n  NOT. The automation execution role (assume role) is assumed by the\n  SSM service (`ssm.amazonaws.com`) to execute API calls within the\n  runbook steps. The instance role (instance profile) is attached to\n  EC2 instances for the SSM agent. These are separate roles with\n  separate trust policies.\n\n- **\"aws:branch is just a conditional display flag.\"** It is NOT.\n  `aws:branch` is a step action that evaluates a conditional and\n  routes execution to different steps based on the evaluation. It is\n  the ONLY way to implement conditional branching in an Automation\n  runbook. Without it, all steps execute linearly.\n\n- **\"Targets are just a resource IDs list.\"** They are NOT. Targets\n  can be explicit resource IDs, or dynamically collected via resource\n  groups or tag-based queries. Dynamic targets enable the runbook to\n  operate on resources that match a tag or resource group at execution\n  time, not just at authoring time. Rate control (concurrency, error\n  threshold) applies to the target set.\n\n## Configuration dependency graph (novel heuristic)\n\nSSM Automation document configurations are NOT independent. The\nexecution role must exist and have the correct trust policy before\nthe document can execute. Targets must be collectable. Rate control\nmust be set within service quotas. Use this graph to sequence\nprovisioning.\n\n| Configuration | Hard dependencies | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Document type (Automation) | None — chosen at creation | Cannot change type; must recreate | determines action types available |\n| Schema version | document type chosen | 0.3 required for aws:branch | step definition syntax |\n| Parameters | schema version chosen | typed; defaults applied if not provided | runtime input binding |\n| mainSteps | parameters defined | steps execute in order; outputs chain | the workflow |\n| aws:branch steps | steps defined before\u002Fafter branch | missing NextStep targets cause failure | conditional routing |\n| Targets (resource groups) | resource group exists | empty group = zero targets at runtime | dynamic target collection |\n| Targets (tags) | tags exist on resources | no match = zero targets | dynamic target collection |\n| Rate control (concurrency) | targets defined | concurrency above 10 needs quota | parallelism across targets |\n| Rate control (error threshold) | targets defined | stops execution when exceeded | blast radius limitation |\n| Automation execution role | IAM role with trust for ssm.amazonaws.com | role passed at execution; missing = failure | SSM permission to perform API calls |\n| SNS notification | SNS topic exists | notification on success\u002Ffailure | execution status alerts |\n| Document sharing | document exists | public requires AWS review | cross-account access |\n| Document version | document exists | each update = new version; default used | version management |\n| EventBridge schedule | document + execution role exist | EventBridge triggers start-automation-execution | scheduled automations |\n\n**The execution-role-trust-policy row is the one a baseline model\nmisses.** The automation execution role must have a trust policy\nallowing `ssm.amazonaws.com` to assume it. The role's permissions\nmust cover every API call made in every step.\n\n**Cross-dependency gotchas:**\n- The execution role is passed at execution time\n  (`--automation-assume-role`), not at document creation.\n- `aws:branch` requires schema version 0.3+.\n- Rate control concurrency default limit is 10 (soft quota).\n- Dynamic targets are evaluated at execution time, not creation time.\n- Public document sharing requires AWS review and approval.\n\n## Expert heuristic: step sequencing with aws:branch conditional\n\nA baseline model creates a linear sequence of steps. The correct\nheuristic recognizes that real operational workflows require\nconditional branching — execute step A only if a condition is met,\notherwise skip to step B.\n\n```text\nStep flow with aws:branch:\n\n  Step 1: aws:executeAwsApi (DescribeInstances)\n     → outputs instance state\n     ↓\n  Step 2: aws:branch\n     ├── State == \"running\"  → NextStep: StopStep\n     ├── State == \"stopped\"  → NextStep: StartStep\n     └── Default             → NextStep: NoOpStep\n     ↓\n  Step 3\u002F4\u002F5: respective action (isEnd: true)\n\naws:branch requires schema version 0.3+\n```\n\n**Key implication:** without `aws:branch`, every runbook is linear.\nConditional routing is essential for remediation workflows (if X\nthen Y else Z), idempotent operations, and multi-tenant operations.\n\n## Expert heuristic: execution role trust policy\n\nThe automation execution role is assumed by SSM to execute API calls\nin runbook steps. Trust policy MUST allow `ssm.amazonaws.com`.\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [{\n    \"Effect\": \"Allow\",\n    \"Principal\": {\"Service\": \"ssm.amazonaws.com\"},\n    \"Action\": \"sts:AssumeRole\"\n  }]\n}\n```\n\n**The role's permissions must cover every API call in every step.**\nFor example, if Step 1 calls `ec2:DescribeInstances` and Step 2 calls\n`ec2:StopInstances`, the role's permission policy must include both.\n**`iam:PassRole` is needed** if any step passes a role to a service\n(e.g., `aws:runInstances` with an instance profile).\n\n## Expert heuristic: target collection via resource groups\n\nTarget-collection modes and rate-control implications moved to\n[references\u002Fexecution-role-and-targets.md](references\u002Fexecution-role-and-targets.md) (load on demand).\n\n## Prerequisites (verify before provisioning)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| Document name and type | Required at creation | Confirm (type = Automation) |\n| Execution role exists | SSM assumes this role to run steps | `aws iam get-role --role-name \u003Crole>` |\n| Execution role trust policy | Trust must allow ssm.amazonaws.com | `aws iam get-role --query 'Role.AssumeRolePolicyDocument'` |\n| Execution role permissions | Every API call in every step must be allowed | Review role policy against step actions |\n| SNS topic exists (if notifications) | SNS ARN for success\u002Ffailure alerts | `aws sns get-topic-attributes --topic-arn \u003Carn>` |\n| Resource group exists (if dynamic targets) | Target collection | `aws resource-groups get-group --group-name \u003Cname>` |\n| Tags exist (if tag-based targets) | Target collection | `aws resourcegroupstaggingapi get-resources` |\n| Lambda function exists (if invoke step) | Step invokes Lambda | `aws lambda get-function --function-name \u003Cname>` |\n| Schema version 0.3+ (if aws:branch) | Branching requires 0.3+ | Confirm in document JSON |\n| EventBridge rule (if scheduled) | Schedule trigger | `aws events describe-rule --name \u003Cname>` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Document type and schema version\n\n| Document type | Use case | Actions |\n|---|---|---|\n| Automation | Multi-step workflows (remediation, deployment) | aws:executeAwsApi, aws:runInstances, aws:invokeLambdaFunction, aws:sleep, aws:changeInstanceState, aws:branch, aws:assertAwsResourceProperty, aws:waitForResourceProperty |\n| Command | Run command on managed instances | aws:runShellScript, aws:runPowerShellScript |\n| Session | Configure Session Manager | Session-type configurations |\n\n**For Automation runbooks, use schema version 0.3** (required for\n`aws:branch`).\n\n## Step 2 — Parameters\n\n```yaml\nparameters:\n  InstanceId:\n    type: String\n    description: \"EC2 instance ID to remediate\"\n    allowedPattern: \"^i-[a-f0-9]+$\"\n  ActionType:\n    type: String\n    allowedValues: [Stop, Start, Restart]\n    default: Restart\n```\n\n## Step 3 — mainSteps and action types\n\nEach step uses a predefined action type. Steps execute in order;\noutputs chain to later steps via `{{ StepName.OutputName }}`.\n\n| Action | Description | Key inputs |\n|---|---|---|\n| aws:executeAwsApi | Call any AWS API | Service, Api, + params |\n| aws:runInstances | Launch EC2 instances | ImageId, InstanceType, MinCount, MaxCount |\n| aws:invokeLambdaFunction | Invoke Lambda | FunctionName, Payload |\n| aws:sleep | Wait a duration | Duration (ISO 8601, e.g., \"PT30S\") |\n| aws:changeInstanceState | Change EC2 state | InstanceIds, DesiredState |\n| aws:branch | Conditional routing | Choices (NextStep + Condition), Default |\n| aws:assertAwsResourceProperty | Assert property | assertions |\n| aws:waitForResourceProperty | Wait until match | PropertySelector, DesiredValues |\n\n## Step 4 — aws:branch conditional routing\n\n```yaml\n  - name: BranchOnState\n    action: aws:branch\n    inputs:\n      Choices:\n        - NextStep: StopInstance\n          Condition: \"{{ CheckState.State == 'running' }}\"\n        - NextStep: StartInstance\n          Condition: \"{{ CheckState.State == 'stopped' }}\"\n      Default: NoActionNeeded\n```\n\nEach choice routes to a different step. `Default` is the fallback.\nSteps can end with `isEnd: true` to terminate the runbook.\n\n## Step 5 — Targets (resource groups, tags)\n\n```bash\n# Resource group targets\naws ssm start-automation-execution \\\n  --document-name \"RemediateEC2\" \\\n  --targets '[{\"Key\":\"ResourceGroup\",\"Values\":[\"rg-prod-ec2\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n\n# Tag-based targets\naws ssm start-automation-execution \\\n  --document-name \"RemediateEC2\" \\\n  --targets '[{\"Key\":\"tag:Environment\",\"Values\":[\"production\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n```\n\n## Step 6 — Rate control\n\n| Parameter | Description | Example |\n|---|---|---|\n| MaxConcurrency | Max parallel executions (count or %) | \"10\" |\n| MaxErrors | Stop when error count exceeds (count or %) | \"3\" |\n\n```bash\naws ssm start-automation-execution \\\n  --document-name \"PatchProduction\" \\\n  --targets '[{\"Key\":\"tag:Environment\",\"Values\":[\"production\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --max-concurrency \"10\" \\\n  --max-errors \"3\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n```\n\n## Step 7 — Automation execution role\n\n```bash\n# Create role with SSM trust\naws iam create-role --role-name SSMAutomationRole \\\n  --assume-role-policy-document '{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ssm.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}'\n\n# Attach permissions covering ALL step API calls\naws iam put-role-policy --role-name SSMAutomationRole \\\n  --policy-name SSMAutomationPermissions \\\n  --policy-document '{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"ec2:DescribeInstances\",\"ec2:StopInstances\",\"ec2:StartInstances\",\"lambda:InvokeFunction\",\"iam:PassRole\"],\"Resource\":\"*\"}]}'\n```\n\nPass at execution: `--automation-assume-role \"arn:aws:iam::...:role\u002FSSMAutomationRole\"`\n\n## Step 8 — SNS notifications\n\n```bash\naws ssm start-automation-execution \\\n  --document-name \"MyRunbook\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\" \\\n  --notification-config '{\"NotificationArn\":\"arn:aws:sns:us-east-1:123456789012:ssm-alerts\",\"NotificationEvents\":[\"Success\",\"Failed\",\"TimedOut\"],\"NotificationType\":\"Command\"}'\n```\n\n## Step 9 — Document sharing and version management\n\n```bash\n# Share with specific accounts\naws ssm modify-document-permission --name \"MyRunbook\" \\\n  --permission-type \"Share\" --account-ids-to-add '[\"999999999999\"]'\n\n# Update document (creates new version)\naws ssm update-document --name \"MyRunbook\" --content file:\u002F\u002Frunbook-v2.json\n\n# Set default version\naws ssm update-document-default-version --name \"MyRunbook\" --document-version \"2\"\n```\n\n**Public sharing requires AWS review and approval.**\n\n## Step 10 — Nested runbook pattern\n\n```yaml\n  - name: InvokeChildRunbook\n    action: aws:executeAutomation\n    inputs:\n      DocumentName: \"ChildRemediation\"\n      RuntimeParameters:\n        InstanceId: \"{{ InstanceId }}\"\n```\n\n## Step 11 — EventBridge integration\n\n```bash\naws events put-rule --name \"NightlyPatchAutomation\" \\\n  --schedule-expression \"cron(0 2 ? * SUN *)\"\n\naws events put-targets --rule \"NightlyPatchAutomation\" \\\n  --targets '[{\"Id\":\"SSMAutomation\",\"Arn\":\"arn:aws:ssm:us-east-1:123456789012:automation-definition\u002FPatchProduction\",\"RoleArn\":\"arn:aws:iam::123456789012:role\u002FEventBridgeSSMRole\",\"Input\":\"{\\\"DocumentName\\\":\\\"PatchProduction\\\",\\\"Targets\\\":[{\\\"Key\\\":\\\"tag:Environment\\\",\\\"Values\\\":[\\\"production\\\"]}]}\"}]'\n```\n\n## Step 12 — Recent features\n\nRecent SSM Automation features (multi-condition aws:branch, dynamic\nparameters, cross-account, per-step metrics, dry-run) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER conflate the execution role with the instance role.** The\n   automation execution role is assumed by `ssm.amazonaws.com`. The\n   instance role is attached to EC2 instances. Separate roles.\n\n2. **NEVER omit `iam:PassRole` from the execution role.** If any step\n   passes a role to a service (e.g., `aws:runInstances`), the\n   execution role needs `iam:PassRole`.\n\n3. **NEVER use schema version below 0.3 for runbooks with\n   `aws:branch`.** Branching requires 0.3+.\n\n4. **NEVER forget rate control on dynamic targets.** Dynamic targets\n   can match hundreds of resources. Without rate control, automation\n   may exceed quotas or cause cascading failures.\n\n5. **NEVER hardcode resource IDs in a production runbook.** Use\n   parameters for reusability.\n\n6. **NEVER assume dynamic targets always return results.** A resource\n   group may be empty. Always validate target count.\n\n7. **NEVER publish a document as public without AWS review.** Public\n   sharing requires approval.\n\n8. **NEVER forget to set the default document version after updating.**\n   Without setting default, executions use the old version.\n\n9. **NEVER pass the execution role at document creation time.** The\n   role ARN is passed at execution time.\n\n10. **NEVER create a production runbook without SNS notifications.**\n    Failed automations go unnoticed without SNS alerts.\n\n## Output format\n\n```text\nSSM_AUTOMATION: \u003Cdocument-name> (Automation, schema \u003Cversion>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Document name: \u003Cname>\n  [✓|✗] Document type: Automation\n  [✓|✗] Schema version: \u003C0.3>\n  [✓|✗] Parameters: \u003Ccount> (\u003Ckey params>)\n  [✓|✗] mainSteps: \u003Ccount> steps (\u003Caction-type list>)\n  [✓|✗] aws:branch steps: \u003Ccount> (conditional routing)\n  [✓|✗] Targets: explicit IDs | resource group \u003Cname> | tags \u003Ckey=value>\n  [✓|✗] Rate control: MaxConcurrency=\u003Cvalue>, MaxErrors=\u003Cvalue>\n  [✓|✗] Execution role: \u003Crole-name> (trust: ssm.amazonaws.com)\n  [✓|✗] Execution role permissions: cover all step actions\n  [✓|✗] SNS notification: \u003Ctopic-arn> (events: \u003Cevent-list>)\n  [✓|✗] Document sharing: Private | Shared (\u003Caccount-ids>) | Public\n  [✓|✗] Document version: \u003Cversion> (default)\n  [✓|✗] Nested runbook: yes (\u003Cchild-document>) | no\n  [✓|✗] EventBridge schedule: \u003Crule-name> (\u003Cschedule>) | none\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws ssm describe-document --name \u003Cdocument-name>\n  aws iam get-role --role-name \u003Crole-name>\n  aws ssm get-document --name \u003Cdocument-name> --document-version \u003Cversion>\n```\n\n### Worked example — EC2 remediation runbook with branching\n\n```text\nSSM_AUTOMATION: RemediateEC2 (Automation, schema 0.3)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Document name: RemediateEC2\n  [✓] Document type: Automation\n  [✓] Schema version: 0.3\n  [✓] Parameters: InstanceId (String), ActionType (String, default Restart)\n  [✓] mainSteps: 5 steps (aws:executeAwsApi, aws:branch, aws:changeInstanceState, aws:sleep, aws:invokeLambdaFunction)\n  [✓] aws:branch steps: 1 (BranchOnState: running→Stop, stopped→Start)\n  [✓] Targets: resource group rg-prod-ec2\n  [✓] Rate control: MaxConcurrency=10, MaxErrors=3\n  [✓] Execution role: SSMAutomationRole (trust: ssm.amazonaws.com)\n  [✓] Execution role permissions: ec2:DescribeInstances, ec2:StopInstances, ec2:StartInstances, lambda:InvokeFunction, iam:PassRole\n  [✓] SNS notification: arn:aws:sns:us-east-1:123456789012:ssm-alerts (events: Success, Failed)\n  [✓] Document sharing: Private\n  [✓] Document version: 1 (default)\n  [✓] Nested runbook: no\n  [✓] EventBridge schedule: NightlyRemediation (cron(0 2 ? * SUN *))\n  [✓] Tags: Environment=production, Owner=cloudops\nVERIFICATION_COMMANDS:\n  aws ssm describe-document --name RemediateEC2\n  aws iam get-role --role-name SSMAutomationRole\n  aws ssm get-document --name RemediateEC2 --document-version 1\n```\n\n## Error handling\n\nError-handling deep dives (AccessDenied, InvalidAssumeRole, branch\nmis-evaluation, zero targets, throttling) moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n\n## References (load on demand)\n\n- [references\u002Fstep-actions-and-branching.md](references\u002Fstep-actions-and-branching.md) — Step action syntax, inputs, and aws:branch conditional detail.\n- [references\u002Fexecution-role-and-targets.md](references\u002Fexecution-role-and-targets.md) — Execution role trust policy and permissions; resource-group\u002Ftag target collection and rate control.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Recent SSM Automation features (moved from Step 12).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — Execution failure deep dives (moved from Error handling).\n\n## Domain\n\nAWS CloudOps \u002F Systems Manager Automation Document Provisioning &\nOperational Runbook Automation.\n\n## AWS documentation\n\n- **SSM Automation** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fsystems-manager-automation.html\n- **Automation actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-actions.html\n- **aws:branch** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-action-branch.html\n- **Execution role** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-setup-iam.html\n- **Rate control** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-rate-control.html\n- **Document sharing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fsysman-ssm-docs.html\n- **EventBridge integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fmonitoring-scheduled-events.html\n","# SSM Automation Deployer\n\nAn AWS CloudOps agent skill that provisions AWS Systems Manager (SSM)\nAutomation documents with correct production defaults. The skill walks\nthe operator through document type selection, schema version,\nparameter definition, mainSteps sequencing (aws:executeAwsApi,\naws:runInstances, aws:invokeLambdaFunction, aws:sleep,\naws:changeInstanceState, aws:branch), target collection via resource\ngroups and tags, rate control (concurrency, error threshold),\nautomation execution role trust policy, SNS notifications on\nsuccess\u002Ffailure, document sharing and version management, nested\nrunbook patterns, and EventBridge integration for scheduled\nautomations, captures all design decisions, and emits a\nREADY_TO_DEPLOY checklist with verification commands.\n\n## Activation keywords\n\ncreate SSM Automation document, SSM runbook, aws:executeAwsApi,\naws:invokeLambdaFunction, aws:branch conditional, SSM rate control,\nSSM automation execution role, EventBridge SSM automation, nested\nrunbook, SSM document version management, aws:runInstances,\naws:changeInstanceState.\n\n## STRICT output contract\n\nWhen this skill is invoked with an SSM-Automation-provisioning\nrequest (create a runbook, design a multi-step workflow, configure\nrate control or targets, wire SNS notifications, integrate\nEventBridge, or a partial configuration), the agent MUST respond with\nthe READY_TO_DEPLOY checklist defined in the \"Output format\" section\nusing the literal all-caps labels `SSM_AUTOMATION:`, `VERDICT:`,\n`CHECKLIST:`, and `VERIFICATION_COMMANDS:`. Do NOT preface the\nchecklist with prose, headings, or disclaimers — emit the block as\nthe first lines of the response. This contract is what assertion-\nbased evals and downstream provisioning pipelines rely on; deviating\nfrom the literal labels breaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Document type and schema version | Core document setup |\n| Step 2 — Parameters | Input definition |\n| Step 3 — mainSteps and action types | Workflow steps |\n| Step 4 — aws:branch conditional routing | Conditional logic |\n| Step 5 — Targets (resource groups, tags) | Target collection |\n| Step 6 — Rate control | Concurrency and error threshold |\n| Step 7 — Automation execution role | IAM trust policy |\n| Step 8 — SNS notifications | Success\u002Ffailure alerts |\n| Step 9 — Document sharing and versions | Private vs public |\n| Step 10 — Nested runbook pattern | Composability |\n| Step 11 — EventBridge integration | Scheduled automations |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fstep-actions-and-branching.md | Step action detail |\n| references\u002Fexecution-role-and-targets.md | IAM + target collection detail |\n\n## Mindset\n\n**One-line takeaway:** An SSM Automation document (runbook) is a\nJSON\u002FYAML document that defines a sequence of steps (actions) that\nSSM executes on your behalf. Each step uses a predefined action type\n(aws:executeAwsApi, aws:invokeLambdaFunction, aws:runInstances,\naws:sleep, aws:changeInstanceState, aws:branch). The execution role\n(trust policy: `ssm.amazonaws.com`) grants SSM permission to perform\nthese actions. Rate control governs how many targets execute\nconcurrently and when to stop on errors.\n\nThree misconceptions dominate SSM Automation misdesign at provisioning\ntime:\n\n- **\"The execution role is the same as the instance role.\"** It is\n  NOT. The automation execution role (assume role) is assumed by the\n  SSM service (`ssm.amazonaws.com`) to execute API calls within the\n  runbook steps. The instance role (instance profile) is attached to\n  EC2 instances for the SSM agent. These are separate roles with\n  separate trust policies.\n\n- **\"aws:branch is just a conditional display flag.\"** It is NOT.\n  `aws:branch` is a step action that evaluates a conditional and\n  routes execution to different steps based on the evaluation. It is\n  the ONLY way to implement conditional branching in an Automation\n  runbook. Without it, all steps execute linearly.\n\n- **\"Targets are just a resource IDs list.\"** They are NOT. Targets\n  can be explicit resource IDs, or dynamically collected via resource\n  groups or tag-based queries. Dynamic targets enable the runbook to\n  operate on resources that match a tag or resource group at execution\n  time, not just at authoring time. Rate control (concurrency, error\n  threshold) applies to the target set.\n\n## Configuration dependency graph (novel heuristic)\n\nSSM Automation document configurations are NOT independent. The\nexecution role must exist and have the correct trust policy before\nthe document can execute. Targets must be collectable. Rate control\nmust be set within service quotas. Use this graph to sequence\nprovisioning.\n\n| Configuration | Hard dependencies | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Document type (Automation) | None — chosen at creation | Cannot change type; must recreate | determines action types available |\n| Schema version | document type chosen | 0.3 required for aws:branch | step definition syntax |\n| Parameters | schema version chosen | typed; defaults applied if not provided | runtime input binding |\n| mainSteps | parameters defined | steps execute in order; outputs chain | the workflow |\n| aws:branch steps | steps defined before\u002Fafter branch | missing NextStep targets cause failure | conditional routing |\n| Targets (resource groups) | resource group exists | empty group = zero targets at runtime | dynamic target collection |\n| Targets (tags) | tags exist on resources | no match = zero targets | dynamic target collection |\n| Rate control (concurrency) | targets defined | concurrency above 10 needs quota | parallelism across targets |\n| Rate control (error threshold) | targets defined | stops execution when exceeded | blast radius limitation |\n| Automation execution role | IAM role with trust for ssm.amazonaws.com | role passed at execution; missing = failure | SSM permission to perform API calls |\n| SNS notification | SNS topic exists | notification on success\u002Ffailure | execution status alerts |\n| Document sharing | document exists | public requires AWS review | cross-account access |\n| Document version | document exists | each update = new version; default used | version management |\n| EventBridge schedule | document + execution role exist | EventBridge triggers start-automation-execution | scheduled automations |\n\n**The execution-role-trust-policy row is the one a baseline model\nmisses.** The automation execution role must have a trust policy\nallowing `ssm.amazonaws.com` to assume it. The role's permissions\nmust cover every API call made in every step.\n\n**Cross-dependency gotchas:**\n- The execution role is passed at execution time\n  (`--automation-assume-role`), not at document creation.\n- `aws:branch` requires schema version 0.3+.\n- Rate control concurrency default limit is 10 (soft quota).\n- Dynamic targets are evaluated at execution time, not creation time.\n- Public document sharing requires AWS review and approval.\n\n## Expert heuristic: step sequencing with aws:branch conditional\n\nA baseline model creates a linear sequence of steps. The correct\nheuristic recognizes that real operational workflows require\nconditional branching — execute step A only if a condition is met,\notherwise skip to step B.\n\n```text\nStep flow with aws:branch:\n\n  Step 1: aws:executeAwsApi (DescribeInstances)\n     → outputs instance state\n     ↓\n  Step 2: aws:branch\n     ├── State == \"running\"  → NextStep: StopStep\n     ├── State == \"stopped\"  → NextStep: StartStep\n     └── Default             → NextStep: NoOpStep\n     ↓\n  Step 3\u002F4\u002F5: respective action (isEnd: true)\n\naws:branch requires schema version 0.3+\n```\n\n**Key implication:** without `aws:branch`, every runbook is linear.\nConditional routing is essential for remediation workflows (if X\nthen Y else Z), idempotent operations, and multi-tenant operations.\n\n## Expert heuristic: execution role trust policy\n\nThe automation execution role is assumed by SSM to execute API calls\nin runbook steps. Trust policy MUST allow `ssm.amazonaws.com`.\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [{\n    \"Effect\": \"Allow\",\n    \"Principal\": {\"Service\": \"ssm.amazonaws.com\"},\n    \"Action\": \"sts:AssumeRole\"\n  }]\n}\n```\n\n**The role's permissions must cover every API call in every step.**\nFor example, if Step 1 calls `ec2:DescribeInstances` and Step 2 calls\n`ec2:StopInstances`, the role's permission policy must include both.\n**`iam:PassRole` is needed** if any step passes a role to a service\n(e.g., `aws:runInstances` with an instance profile).\n\n## Expert heuristic: target collection via resource groups\n\nTarget-collection modes and rate-control implications moved to\n[references\u002Fexecution-role-and-targets.md](references\u002Fexecution-role-and-targets.md) (load on demand).\n\n## Prerequisites (verify before provisioning)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| Document name and type | Required at creation | Confirm (type = Automation) |\n| Execution role exists | SSM assumes this role to run steps | `aws iam get-role --role-name \u003Crole>` |\n| Execution role trust policy | Trust must allow ssm.amazonaws.com | `aws iam get-role --query 'Role.AssumeRolePolicyDocument'` |\n| Execution role permissions | Every API call in every step must be allowed | Review role policy against step actions |\n| SNS topic exists (if notifications) | SNS ARN for success\u002Ffailure alerts | `aws sns get-topic-attributes --topic-arn \u003Carn>` |\n| Resource group exists (if dynamic targets) | Target collection | `aws resource-groups get-group --group-name \u003Cname>` |\n| Tags exist (if tag-based targets) | Target collection | `aws resourcegroupstaggingapi get-resources` |\n| Lambda function exists (if invoke step) | Step invokes Lambda | `aws lambda get-function --function-name \u003Cname>` |\n| Schema version 0.3+ (if aws:branch) | Branching requires 0.3+ | Confirm in document JSON |\n| EventBridge rule (if scheduled) | Schedule trigger | `aws events describe-rule --name \u003Cname>` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Document type and schema version\n\n| Document type | Use case | Actions |\n|---|---|---|\n| Automation | Multi-step workflows (remediation, deployment) | aws:executeAwsApi, aws:runInstances, aws:invokeLambdaFunction, aws:sleep, aws:changeInstanceState, aws:branch, aws:assertAwsResourceProperty, aws:waitForResourceProperty |\n| Command | Run command on managed instances | aws:runShellScript, aws:runPowerShellScript |\n| Session | Configure Session Manager | Session-type configurations |\n\n**For Automation runbooks, use schema version 0.3** (required for\n`aws:branch`).\n\n## Step 2 — Parameters\n\n```yaml\nparameters:\n  InstanceId:\n    type: String\n    description: \"EC2 instance ID to remediate\"\n    allowedPattern: \"^i-[a-f0-9]+$\"\n  ActionType:\n    type: String\n    allowedValues: [Stop, Start, Restart]\n    default: Restart\n```\n\n## Step 3 — mainSteps and action types\n\nEach step uses a predefined action type. Steps execute in order;\noutputs chain to later steps via `{{ StepName.OutputName }}`.\n\n| Action | Description | Key inputs |\n|---|---|---|\n| aws:executeAwsApi | Call any AWS API | Service, Api, + params |\n| aws:runInstances | Launch EC2 instances | ImageId, InstanceType, MinCount, MaxCount |\n| aws:invokeLambdaFunction | Invoke Lambda | FunctionName, Payload |\n| aws:sleep | Wait a duration | Duration (ISO 8601, e.g., \"PT30S\") |\n| aws:changeInstanceState | Change EC2 state | InstanceIds, DesiredState |\n| aws:branch | Conditional routing | Choices (NextStep + Condition), Default |\n| aws:assertAwsResourceProperty | Assert property | assertions |\n| aws:waitForResourceProperty | Wait until match | PropertySelector, DesiredValues |\n\n## Step 4 — aws:branch conditional routing\n\n```yaml\n  - name: BranchOnState\n    action: aws:branch\n    inputs:\n      Choices:\n        - NextStep: StopInstance\n          Condition: \"{{ CheckState.State == 'running' }}\"\n        - NextStep: StartInstance\n          Condition: \"{{ CheckState.State == 'stopped' }}\"\n      Default: NoActionNeeded\n```\n\nEach choice routes to a different step. `Default` is the fallback.\nSteps can end with `isEnd: true` to terminate the runbook.\n\n## Step 5 — Targets (resource groups, tags)\n\n```bash\n# Resource group targets\naws ssm start-automation-execution \\\n  --document-name \"RemediateEC2\" \\\n  --targets '[{\"Key\":\"ResourceGroup\",\"Values\":[\"rg-prod-ec2\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n\n# Tag-based targets\naws ssm start-automation-execution \\\n  --document-name \"RemediateEC2\" \\\n  --targets '[{\"Key\":\"tag:Environment\",\"Values\":[\"production\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n```\n\n## Step 6 — Rate control\n\n| Parameter | Description | Example |\n|---|---|---|\n| MaxConcurrency | Max parallel executions (count or %) | \"10\" |\n| MaxErrors | Stop when error count exceeds (count or %) | \"3\" |\n\n```bash\naws ssm start-automation-execution \\\n  --document-name \"PatchProduction\" \\\n  --targets '[{\"Key\":\"tag:Environment\",\"Values\":[\"production\"]}]' \\\n  --target-parameter-name \"InstanceId\" \\\n  --max-concurrency \"10\" \\\n  --max-errors \"3\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\"\n```\n\n## Step 7 — Automation execution role\n\n```bash\n# Create role with SSM trust\naws iam create-role --role-name SSMAutomationRole \\\n  --assume-role-policy-document '{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ssm.amazonaws.com\"},\"Action\":\"sts:AssumeRole\"}]}'\n\n# Attach permissions covering ALL step API calls\naws iam put-role-policy --role-name SSMAutomationRole \\\n  --policy-name SSMAutomationPermissions \\\n  --policy-document '{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"ec2:DescribeInstances\",\"ec2:StopInstances\",\"ec2:StartInstances\",\"lambda:InvokeFunction\",\"iam:PassRole\"],\"Resource\":\"*\"}]}'\n```\n\nPass at execution: `--automation-assume-role \"arn:aws:iam::...:role\u002FSSMAutomationRole\"`\n\n## Step 8 — SNS notifications\n\n```bash\naws ssm start-automation-execution \\\n  --document-name \"MyRunbook\" \\\n  --automation-assume-role \"arn:aws:iam::123456789012:role\u002FSSMAutomationRole\" \\\n  --notification-config '{\"NotificationArn\":\"arn:aws:sns:us-east-1:123456789012:ssm-alerts\",\"NotificationEvents\":[\"Success\",\"Failed\",\"TimedOut\"],\"NotificationType\":\"Command\"}'\n```\n\n## Step 9 — Document sharing and version management\n\n```bash\n# Share with specific accounts\naws ssm modify-document-permission --name \"MyRunbook\" \\\n  --permission-type \"Share\" --account-ids-to-add '[\"999999999999\"]'\n\n# Update document (creates new version)\naws ssm update-document --name \"MyRunbook\" --content file:\u002F\u002Frunbook-v2.json\n\n# Set default version\naws ssm update-document-default-version --name \"MyRunbook\" --document-version \"2\"\n```\n\n**Public sharing requires AWS review and approval.**\n\n## Step 10 — Nested runbook pattern\n\n```yaml\n  - name: InvokeChildRunbook\n    action: aws:executeAutomation\n    inputs:\n      DocumentName: \"ChildRemediation\"\n      RuntimeParameters:\n        InstanceId: \"{{ InstanceId }}\"\n```\n\n## Step 11 — EventBridge integration\n\n```bash\naws events put-rule --name \"NightlyPatchAutomation\" \\\n  --schedule-expression \"cron(0 2 ? * SUN *)\"\n\naws events put-targets --rule \"NightlyPatchAutomation\" \\\n  --targets '[{\"Id\":\"SSMAutomation\",\"Arn\":\"arn:aws:ssm:us-east-1:123456789012:automation-definition\u002FPatchProduction\",\"RoleArn\":\"arn:aws:iam::123456789012:role\u002FEventBridgeSSMRole\",\"Input\":\"{\\\"DocumentName\\\":\\\"PatchProduction\\\",\\\"Targets\\\":[{\\\"Key\\\":\\\"tag:Environment\\\",\\\"Values\\\":[\\\"production\\\"]}]}\"}]'\n```\n\n## Step 12 — Recent features\n\nRecent SSM Automation features (multi-condition aws:branch, dynamic\nparameters, cross-account, per-step metrics, dry-run) moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER conflate the execution role with the instance role.** The\n   automation execution role is assumed by `ssm.amazonaws.com`. The\n   instance role is attached to EC2 instances. Separate roles.\n\n2. **NEVER omit `iam:PassRole` from the execution role.** If any step\n   passes a role to a service (e.g., `aws:runInstances`), the\n   execution role needs `iam:PassRole`.\n\n3. **NEVER use schema version below 0.3 for runbooks with\n   `aws:branch`.** Branching requires 0.3+.\n\n4. **NEVER forget rate control on dynamic targets.** Dynamic targets\n   can match hundreds of resources. Without rate control, automation\n   may exceed quotas or cause cascading failures.\n\n5. **NEVER hardcode resource IDs in a production runbook.** Use\n   parameters for reusability.\n\n6. **NEVER assume dynamic targets always return results.** A resource\n   group may be empty. Always validate target count.\n\n7. **NEVER publish a document as public without AWS review.** Public\n   sharing requires approval.\n\n8. **NEVER forget to set the default document version after updating.**\n   Without setting default, executions use the old version.\n\n9. **NEVER pass the execution role at document creation time.** The\n   role ARN is passed at execution time.\n\n10. **NEVER create a production runbook without SNS notifications.**\n    Failed automations go unnoticed without SNS alerts.\n\n## Output format\n\n```text\nSSM_AUTOMATION: \u003Cdocument-name> (Automation, schema \u003Cversion>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Document name: \u003Cname>\n  [✓|✗] Document type: Automation\n  [✓|✗] Schema version: \u003C0.3>\n  [✓|✗] Parameters: \u003Ccount> (\u003Ckey params>)\n  [✓|✗] mainSteps: \u003Ccount> steps (\u003Caction-type list>)\n  [✓|✗] aws:branch steps: \u003Ccount> (conditional routing)\n  [✓|✗] Targets: explicit IDs | resource group \u003Cname> | tags \u003Ckey=value>\n  [✓|✗] Rate control: MaxConcurrency=\u003Cvalue>, MaxErrors=\u003Cvalue>\n  [✓|✗] Execution role: \u003Crole-name> (trust: ssm.amazonaws.com)\n  [✓|✗] Execution role permissions: cover all step actions\n  [✓|✗] SNS notification: \u003Ctopic-arn> (events: \u003Cevent-list>)\n  [✓|✗] Document sharing: Private | Shared (\u003Caccount-ids>) | Public\n  [✓|✗] Document version: \u003Cversion> (default)\n  [✓|✗] Nested runbook: yes (\u003Cchild-document>) | no\n  [✓|✗] EventBridge schedule: \u003Crule-name> (\u003Cschedule>) | none\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws ssm describe-document --name \u003Cdocument-name>\n  aws iam get-role --role-name \u003Crole-name>\n  aws ssm get-document --name \u003Cdocument-name> --document-version \u003Cversion>\n```\n\n### Worked example — EC2 remediation runbook with branching\n\n```text\nSSM_AUTOMATION: RemediateEC2 (Automation, schema 0.3)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Document name: RemediateEC2\n  [✓] Document type: Automation\n  [✓] Schema version: 0.3\n  [✓] Parameters: InstanceId (String), ActionType (String, default Restart)\n  [✓] mainSteps: 5 steps (aws:executeAwsApi, aws:branch, aws:changeInstanceState, aws:sleep, aws:invokeLambdaFunction)\n  [✓] aws:branch steps: 1 (BranchOnState: running→Stop, stopped→Start)\n  [✓] Targets: resource group rg-prod-ec2\n  [✓] Rate control: MaxConcurrency=10, MaxErrors=3\n  [✓] Execution role: SSMAutomationRole (trust: ssm.amazonaws.com)\n  [✓] Execution role permissions: ec2:DescribeInstances, ec2:StopInstances, ec2:StartInstances, lambda:InvokeFunction, iam:PassRole\n  [✓] SNS notification: arn:aws:sns:us-east-1:123456789012:ssm-alerts (events: Success, Failed)\n  [✓] Document sharing: Private\n  [✓] Document version: 1 (default)\n  [✓] Nested runbook: no\n  [✓] EventBridge schedule: NightlyRemediation (cron(0 2 ? * SUN *))\n  [✓] Tags: Environment=production, Owner=cloudops\nVERIFICATION_COMMANDS:\n  aws ssm describe-document --name RemediateEC2\n  aws iam get-role --role-name SSMAutomationRole\n  aws ssm get-document --name RemediateEC2 --document-version 1\n```\n\n## Error handling\n\nError-handling deep dives (AccessDenied, InvalidAssumeRole, branch\nmis-evaluation, zero targets, throttling) moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\n\n## References (load on demand)\n\n- [references\u002Fstep-actions-and-branching.md](references\u002Fstep-actions-and-branching.md) — Step action syntax, inputs, and aws:branch conditional detail.\n- [references\u002Fexecution-role-and-targets.md](references\u002Fexecution-role-and-targets.md) — Execution role trust policy and permissions; resource-group\u002Ftag target collection and rate control.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Recent SSM Automation features (moved from Step 12).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — Execution failure deep dives (moved from Error handling).\n\n## Domain\n\nAWS CloudOps \u002F Systems Manager Automation Document Provisioning &\nOperational Runbook Automation.\n\n## AWS documentation\n\n- **SSM Automation** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fsystems-manager-automation.html\n- **Automation actions** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-actions.html\n- **aws:branch** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-action-branch.html\n- **Execution role** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-setup-iam.html\n- **Rate control** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-rate-control.html\n- **Document sharing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fsysman-ssm-docs.html\n- **EventBridge integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fmonitoring-scheduled-events.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"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,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, ssm, automation, runbook, cloudops, deploy, management, provisioning, remediation, eventbridge","1","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","aws, systems manager, ssm, automation, runbook, document, cloudops, deploy, provisioning, aws:executeAwsApi, aws:invokeLambdaFunction, aws:runInstances, aws:changeInstanceState, aws:sleep, aws:branch, rate control, concurrency, error threshold, resource groups, targets, execution role, sns notification, eventbridge, nested runbook, version management","deploy","high","false","capability","Invoke when the user wants to create an SSM Automation document (runbook), design multi-step remediation or operational workflows, use aws:branch for conditional step routing, configure rate control (concurrency and error threshold) for target execution, set up the automation execution role with correct trust policy, wire SNS notifications on success\u002Ffailure, share documents (private vs public), manage document versions, build nested runbooks, or integrate with EventBridge for scheduled automations. Do NOT invoke for SSM Session Manager (use session skills), SSM Patch Manager (use patch skills), or SSM Parameter Store (use parameter skills).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with ssm, iam, lambda, events, and sns access. Works with Terraform aws_ssm_document resources and CloudFormation AWS::SSM::Document templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fssm-automation-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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill ssm-automation-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill ssm-automation-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill ssm-automation-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6328,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Feventbridge-scheduled-sns-rate-control.md",582,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fbaselines\u002Feventbridge-scheduled-sns-rate-control.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmissing-execution-role-trust.md",810,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fbaselines\u002Fmissing-execution-role-trust.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-parameter-binding.md",777,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fbaselines\u002Fmissing-parameter-binding.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fnested-runbook-branch-targets.md",726,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fbaselines\u002Fnested-runbook-branch-targets.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fremediation-execute-api-lambda.md",922,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fbaselines\u002Fremediation-execute-api-lambda.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1873,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",9520,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Feventbridge-scheduled-sns-rate-control.md",684,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fprompts\u002Feventbridge-scheduled-sns-rate-control.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmissing-execution-role-trust.md",521,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fprompts\u002Fmissing-execution-role-trust.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-parameter-binding.md",495,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fprompts\u002Fmissing-parameter-binding.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fnested-runbook-branch-targets.md",743,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fprompts\u002Fnested-runbook-branch-targets.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fremediation-execute-api-lambda.md",829,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fevals\u002Fprompts\u002Fremediation-execute-api-lambda.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6755,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",750,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ferror-handling.md",1001,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Freferences\u002Ferror-handling.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fexecution-role-and-targets.md",7404,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Freferences\u002Fexecution-role-and-targets.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fstep-actions-and-branching.md",5921,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Freferences\u002Fstep-actions-and-branching.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4387,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fssm-automation-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"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":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"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":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"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":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[]]