[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9M9VB86X55R5E89ZGE7HG":3,"skill-same:01M7A9M9VB86X55R5E89ZGE7HG":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},"01M7A9M9VB86X55R5E89ZGE7HG","lambda-alias-deployer",null,"Provisions Lambda aliases with production defaults: alias creation pointing to a specific published version, traffic shifting (weighted aliases for canary\u002Flinear deployments), API Gateway stage integration (alias as stage trigger), CloudWatch alarm per alias, provisioned concurrency on alias, Lambda SnapStart integration. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Lambda alias, shifting traffic between versions, configuring canary deployment, setting up API Gateway stage with alias, adding provisioned concurrency to an alias, or enabling SnapStart. Triggers: create lambda alias, weighted alias, traffic shift lambda, canary deployment lambda, provisioned concurrency alias, lambda snapstart alias, API gateway stage alias, lambda version alias.","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\u002Flambda-alias-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lambda-alias-deployer\ndescription: 'Provisions Lambda aliases with production defaults: alias creation pointing to a specific published version, traffic shifting (weighted aliases for canary\u002Flinear deployments), API Gateway stage integration (alias as stage trigger), CloudWatch alarm per alias, provisioned concurrency on alias, Lambda SnapStart integration. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Lambda alias, shifting traffic between versions, configuring canary deployment, setting up API Gateway stage with alias, adding provisioned concurrency to an alias, or enabling SnapStart. Triggers: create lambda alias, weighted alias, traffic shift lambda, canary deployment lambda, provisioned concurrency alias, lambda snapstart alias, API gateway stage alias, lambda version alias.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with lambda, apigateway, cloudwatch, and iam access. Works with Terraform aws_lambda_alias \u002F aws_lambda_provisioned_concurrency_config resources and CloudFormation AWS::Lambda::Alias 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: Compute\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, lambda, alias, cloudops, deploy, compute, provisioning, traffic-shifting, canary, provisioned-concurrency, snapstart\n  dependencies: aws-orchestrator\n  keywords: aws, lambda, alias, cloudops, deploy, provisioning, traffic shifting, weighted alias, canary deployment, provisioned concurrency, snapstart, api gateway, cloudwatch alarm, lambda version, stage integration\n  when_to_use: Invoke when the user wants to create a Lambda alias pointing to a specific published version, configure traffic shifting between versions (weighted aliases for canary or linear deployment), set up API Gateway stage integration with a Lambda alias, create CloudWatch alarms scoped to a specific alias, configure provisioned concurrency on an alias, or enable Lambda SnapStart with alias-based routing. Do NOT invoke for Lambda function creation (use lambda function deployers), for Lambda layer management, for EventBridge rule configuration, or for auditing existing Lambda alias configurations.\n---\n\n# Lambda Alias Deployer\n\nAn AWS CloudOps agent skill that provisions Lambda aliases with\ncorrect defaults. The skill walks the operator through published\nversion requirements, alias creation, traffic shifting, API Gateway\nstage integration, CloudWatch alarms per alias, provisioned\nconcurrency, and SnapStart. It captures deployment and traffic\ndecisions, explains why each default matters, and emits a\nREADY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate Lambda alias, weighted alias, traffic shift Lambda, canary\ndeployment Lambda, provisioned concurrency alias, Lambda SnapStart\nalias, API Gateway stage alias, Lambda version alias, CloudWatch\nalarm per alias.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Lambda-alias-provisioning request\n(alias name, version, traffic weights, API Gateway integration,\nprovisioned concurrency, SnapStart, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined\nin the \"Output format\" section using the literal all-caps labels\n`LAMBDA_ALIAS:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of\nthe response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the\nliteral labels breaks automation silently.\n\nIf any prerequisite is missing, the verdict is\n`PREREQUISITES_MISSING` with a specific gap citation in the\nchecklist (marked `[✗]`), and `READY_TO_DEPLOY` MUST NOT also\nappear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Published version requirement | Version dependency |\n| Step 2 — Alias creation | Basic alias setup |\n| Step 3 — Traffic shifting (weighted aliases) | Canary\u002Flinear deployment |\n| Step 4 — API Gateway stage integration | API Gateway routing |\n| Step 5 — CloudWatch alarm per alias | Monitoring |\n| Step 6 — Provisioned concurrency on alias | Cold-start elimination |\n| Step 7 — Lambda SnapStart | JVM\u002FPython fast startup |\n| Step 8 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Ftraffic-shifting-and-concurrency.md | Weighted alias detail |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n\n\n\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites.\nIf any are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Lambda access | Cannot provision without it | `aws sts get-caller-identity` |\n| Region selected | Lambda is region-scoped | `aws configure get region` |\n| Lambda function exists | Alias cannot point to a non-existent function | `aws lambda get-function --function-name \u003Cname>` |\n| Published version exists | Alias MUST point to a published version, not $LATEST | `aws lambda list-versions-by-function --function-name \u003Cname>` |\n| Alias name identified | Alias names are immutable after creation | Provide a name (e.g., prod, staging, canary) |\n| IAM execution role valid | Function must have a valid role | `aws lambda get-function-configuration --function-name \u003Cname>` |\n| Two versions (for traffic shifting) | Weighted aliases require two published versions | `aws lambda list-versions-by-function` |\n| SnapStart enabled on function (if applicable) | SnapStart must be configured before alias-based routing | `aws lambda get-function-configuration --function-name \u003Cname> --query SnapStart` |\n| API Gateway API exists (if integrating) | Stage must reference an existing API | `aws apigateway get-rest-apis` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Published version requirement\n\nAn alias MUST point to a published version. You cannot create an\nalias that points to `$LATEST` for production traffic.\n\n**Why published versions matter:**\n- Published versions are IMMUTABLE snapshots of the function code\n  and configuration at publish time.\n- Version numbers are auto-incremented (1, 2, 3, ...).\n- `$LATEST` is mutable — it changes on every update. Aliases pointing\n  to `$LATEST` are unstable.\n- Traffic shifting requires published versions: you cannot shift\n  weight to `$LATEST`.\n\n**Publish a version:**\n```bash\nNEW_VERSION=$(aws lambda publish-version \\\n  --function-name my-function \\\n  --query Version --output text)\n\necho \"Published version: $NEW_VERSION\"\n```\n\n**Common mistake:** updating the function code and immediately\ncreating an alias without publishing a version first. The alias\nhas nothing stable to point to. Always `publish-version` before\n`create-alias`.\n\n## Step 2 — Alias creation\n\nAn alias is a named pointer to a specific published version. It\nprovides a stable invocation ARN that consumers (API Gateway,\nEventBridge, etc.) can reference.\n\n**Create an alias:**\n```bash\naws lambda create-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --description \"Production alias\"\n```\n\n**Alias ARN format:**\n```\narn:aws:lambda:us-east-1:123456789012:function:my-function:prod\n```\n\nThe qualifier `:prod` is the alias name. Consumers invoke the\nfunction using this ARN. When you update the alias to point to a\nnew version, consumers automatically see the new version — no\nendpoint change needed.\n\n**Key rules:**\n- Alias names are immutable. To rename, delete and re-create.\n- An alias can point to only ONE version at a time (without routing\n  config). With routing config, it splits traffic between two.\n- Each function can have up to 1,000 aliases.\n- Alias description is mutable.\n\n## Step 3 — Traffic shifting (weighted aliases)\n\nTraffic shifting splits invocations between two published versions.\nThis enables canary and linear deployments without endpoint changes.\n\n**Set canary traffic (10% to new version):**\n```bash\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.1}'\n```\n\nThis sends 90% of traffic to version 5 and 10% to version 6.\n\n**Progressively shift (25% → 50% → 100%):**\n```bash\n# 25%\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.25}'\n\n# 50%\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.5}'\n\n# 100% (finalize — remove routing config)\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 6 \\\n  --routing-config '{}'\n```\n\n**Rollback (shift back to old version):**\n```bash\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --routing-config '{}'\n```\n\n**Common mistake:** trying to shift traffic to `$LATEST` instead of\na published version. Traffic shifting requires a specific version\nnumber in `AdditionalVersionWeights`. `$LATEST` is not a version.\n\n## Step 4 — API Gateway stage integration\n\nAPI Gateway integrates with Lambda via the alias ARN. The alias\nprovides a stable invocation target that survives version updates.\n\n**Integration setup:**\n```bash\n# API Gateway method integration uses the alias ARN\n# arn:aws:lambda:us-east-1:123456789012:function:my-function:prod\n\n# Grant API Gateway permission to invoke the alias\naws lambda add-permission \\\n  --function-name my-function:prod \\\n  --statement-id apigateway-prod \\\n  --action lambda:InvokeFunction \\\n  --principal apigateway.amazonaws.com \\\n  --source-arn \"arn:aws:execute-api:us-east-1:123456789012:abc123\u002F*\u002FGET\u002Fhello\"\n```\n\n**Key rules:**\n- The integration URI must include the alias qualifier:\n  `arn:...:function:my-function:prod`\n- Without the qualifier, API Gateway invokes `$LATEST`, bypassing\n  the alias entirely. This defeats traffic shifting.\n- Permission must be granted to the ALIAS, not just the function.\n  Use `function-name:alias` in `add-permission`.\n- When the alias shifts traffic, API Gateway automatically routes\n  to the weighted versions — no API Gateway change needed.\n\n**Common mistake:** configuring the API Gateway integration with\nthe function ARN (no qualifier). This invokes `$LATEST` directly,\nbypassing the alias and all traffic-shifting logic. Always include\nthe alias qualifier in the integration URI.\n\n## Step 5 — CloudWatch alarm per alias\n\nCloudWatch metrics for Lambda are scoped by the `FunctionName` and\n`Resource` dimensions. To monitor a specific alias, use the alias\nARN as the `Resource` dimension.\n\n**Create an alarm scoped to an alias:**\n```bash\naws cloudwatch put-metric-alarm \\\n  --alarm-name \"my-function-prod-errors\" \\\n  --metric-name Errors \\\n  --namespace AWS\u002FLambda \\\n  --statistic Sum \\\n  --period 60 \\\n  --threshold 5 \\\n  --comparison-operator GreaterThanThreshold \\\n  --dimensions Name=FunctionName,Value=my-function Name=Resource,Value=my-function:prod \\\n  --evaluation-periods 1 \\\n  --alarm-actions \"arn:aws:sns:us-east-1:123456789012:alerts\"\n```\n\n**Key dimensions:**\n- `FunctionName`: the function name (e.g., `my-function`).\n- `Resource`: the function + qualifier (e.g., `my-function:prod`).\n  Without this, metrics are aggregated across all versions.\n\n**Metrics available per alias:**\n- `Errors`: invocation errors scoped to this alias.\n- `Throttles`: throttled invocations scoped to this alias.\n- `Duration`: execution time scoped to this alias.\n- `Invocations`: total invocations scoped to this alias.\n- `ConcurrentExecutions`: concurrent executions (use alias qualifier).\n- `ProvisionedConcurrencyInvocations` \u002F `ProvisionedConcurrencySpilloverInvocations`.\n\n**Common mistake:** creating the alarm without the `Resource`\ndimension. The alarm aggregates across all versions and `$LATEST`,\nmaking it impossible to detect errors specific to the alias.\n\n## Step 6 — Provisioned concurrency on alias\n\nProvisioned concurrency pre-initializes execution environments to\neliminate cold starts. Configure it on the ALIAS so it follows\ntraffic shifts.\n\n**Configure provisioned concurrency on an alias:**\n```bash\naws lambda put-provisioned-concurrency-config \\\n  --function-name my-function \\\n  --qualifier prod \\\n  --provisioned-concurrent-executions 10\n```\n\n**Verification:**\n```bash\naws lambda get-provisioned-concurrency-config \\\n  --function-name my-function \\\n  --qualifier prod\n```\n\n**Key rules:**\n- The `--qualifier` is the alias name (e.g., `prod`), NOT a version\n  number. This is what makes provisioned concurrency follow the alias.\n- Provisioned concurrency is billed regardless of invocations. Right-\n  size based on steady-state, not peak.\n- Use Application Auto Scaling to adjust dynamically based on\n  utilization (ProvisionedConcurrencyUtilization metric).\n\n**Auto Scaling for provisioned concurrency:**\n```bash\n# Register as a scalable target\naws application-autoscaling register-scalable-target \\\n  --service-namespace lambda \\\n  --resource-id function:my-function:prod \\\n  --scalable-dimension lambda:function:ProvisionedConcurrency \\\n  --min-capacity 2 \\\n  --max-capacity 20\n\n# Target tracking policy\naws application-autoscaling put-scaling-policy \\\n  --policy-name prod-provisioned-scaling \\\n  --service-namespace lambda \\\n  --resource-id function:my-function:prod \\\n  --scalable-dimension lambda:function:ProvisionedConcurrency \\\n  --policy-type TargetTrackingScaling \\\n  --target-tracking-scaling-policy-configuration '{\n    \"TargetValue\": 70.0,\n    \"PredefinedMetricSpecification\": {\n      \"PredefinedMetricType\": \"LambdaProvisionedConcurrencyUtilization\"\n    }\n  }'\n```\n\n## Step 7 — Lambda SnapStart\n\nSnapStart reduces cold-start times for supported runtimes (Java,\nPython) by restoring pre-initialized execution environments from\nsnapshots. SnapStart is configured on the FUNCTION, but snapshots\nare per-VERSION. The alias routes to the correct snapshot.\n\n**Enable SnapStart on the function:**\n```bash\naws lambda update-function-configuration \\\n  --function-name my-function \\\n  --snap-start ApplyOn=PublishedVersions\n```\n\n**Publish a new version (SnapStart creates a snapshot for this version):**\n```bash\naws lambda publish-version \\\n  --function-name my-function\n```\n\n**Verify SnapStart status:**\n```bash\naws lambda get-function-configuration \\\n  --function-name my-function \\\n  --qualifier 5 \\\n  --query 'SnapStart'\n```\n\n**Key rules:**\n- SnapStart must be enabled on the function BEFORE publishing\n  versions. Existing versions do NOT get snapshots retroactively.\n- Each published version gets its OWN snapshot. The alias routes\n  to the correct snapshot automatically.\n- SnapStart snapshots are restored in milliseconds (vs seconds for\n  full JVM initialization).\n- SnapStart is available for `java11`, `java17`, `java21`, and\n  `python3.12` runtimes (as of 2026).\n\n**Common mistake:** enabling SnapStart after publishing the version.\nThe version does not get a snapshot. You must enable SnapStart on\nthe function first, then publish a new version. The new version\nwill have the snapshot.\n\n**SnapStart + traffic shifting:** when you shift traffic between\ntwo versions, each version has its own snapshot. There is no\nadditional configuration needed — the alias handles routing to\nthe correct snapshot.\n\n## Step 8 — Recent features\n\nThe 2023-2026 feature notes (SnapStart for Python\u002FJava 21, Auto Scaling,\nper-alias Insights, recursive detection, X-Ray) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER point a production alias to `$LATEST`.** `$LATEST` is\n   mutable and changes on every function update. The alias target\n   would change silently, bypassing traffic-shifting safety. Always\n   point to a published version.\n\n2. **NEVER configure provisioned concurrency on a version number\n   instead of an alias.** Version-level provisioned concurrency is\n   lost when the alias re-points to a new version. Always use\n   alias-level provisioned concurrency (`--qualifier \u003Calias-name>`).\n\n3. **NEVER shift traffic to `$LATEST`.** Traffic shifting requires\n   a published version number in `AdditionalVersionWeights`. `$LATEST`\n   is not a version and will cause an API error.\n\n4. **NEVER configure API Gateway integration without the alias\n   qualifier.** Without `:prod` (or the alias name), API Gateway\n   invokes `$LATEST` directly, bypassing the alias and all traffic-\n   shifting logic.\n\n5. **NEVER enable SnapStart after publishing the version.** SnapStart\n   snapshots are created at publish time. Existing versions do NOT\n   get snapshots retroactively. Enable SnapStart on the function\n   first, then publish a new version.\n\n## Output format\n\n```text\nLAMBDA_ALIAS: \u003Cfunction-name>:\u003Calias-name> (version \u003Cn>, weight \u003Cn>%)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Function: \u003Cfunction-name> (exists in \u003Cregion>)\n  [✓|✗] Published version: \u003Cn> (immutable snapshot)\n  [✓|✗] Alias: \u003Calias-name> → version \u003Cn>\n  [✓|✗] Traffic shifting: \u003Ccanary\u002Flinear> (version \u003Cold> \u003Cold-weight>% → version \u003Cnew> \u003Cnew-weight>%) | none\n  [✓|✗] API Gateway integration: \u003Capi-id> stage \u003Cstage> → alias \u003Calias-name> | N\u002FA\n  [✓|✗] CloudWatch alarm: \u003Calarm-name> scoped to \u003Cfunction-name>:\u003Calias-name> | N\u002FA\n  [✓|✗] Provisioned concurrency: \u003Cn> executions on alias \u003Calias-name> | disabled\n  [✓|✗] SnapStart: enabled (version \u003Cn> has snapshot) | disabled | not applicable\n  [✓|✗] Auto Scaling: target=\u003Cn>% utilization, min=\u003Cn>, max=\u003Cn> | disabled\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws lambda get-alias --function-name \u003Cfunction-name> --name \u003Calias-name>\n  aws lambda get-provisioned-concurrency-config --function-name \u003Cfunction-name> --qualifier \u003Calias-name>\n  aws cloudwatch describe-alarms --alarm-names \u003Calarm-name>\n```\n\n### Worked example — alias with canary traffic shift and provisioned concurrency\n\n```text\nLAMBDA_ALIAS: my-function:prod (version 5, weight 90%; version 6, weight 10%)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Function: my-function (exists in us-east-1)\n  [✓] Published version: 5 (current), 6 (canary)\n  [✓] Alias: prod → version 5 (90%) + version 6 (10%)\n  [✓] Traffic shifting: canary (version 5 90% → version 6 10%)\n  [✓] API Gateway integration: abc123 stage prod → alias prod\n  [✓] CloudWatch alarm: my-function-prod-errors scoped to my-function:prod\n  [✓] Provisioned concurrency: 10 executions on alias prod\n  [✓] SnapStart: disabled\n  [✓] Auto Scaling: target=70% utilization, min=2, max=20\n  [✓] Tags: Environment=production, Service=api\nVERIFICATION_COMMANDS:\n  aws lambda get-alias --function-name my-function --name prod\n  aws lambda get-provisioned-concurrency-config --function-name my-function --qualifier prod\n  aws cloudwatch describe-alarms --alarm-names my-function-prod-errors\n```\n\n\n## References (load on demand)\n\n- [references\u002Ftraffic-shifting-and-concurrency.md](references\u002Ftraffic-shifting-and-concurrency.md) — traffic-shifting strategies, rollback, pre-shift validation, provisioned concurrency placement matrix and Auto Scaling, monitoring, CodeDeploy comparison; now also the weighted-traffic-shifting lifecycle and the alias-vs-version provisioned-concurrency expert heuristics moved from SKILL.md.\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequence for Steps 0-7 (publish, create-alias, canary shifting, API Gateway permission, alarms, provisioned concurrency, Auto Scaling).\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Mindset framing (three misconceptions), the configuration dependency graph (immutable settings and cross-dependency gotchas), and the Step 8 recent-features notes moved from SKILL.md.\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — API error deep dives (InvalidParameterValueException, ResourceConflictException, provisioned concurrency stuck, weight not changing, API Gateway invoking $LATEST, SnapStart snapshot not created) moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F Lambda Alias Provisioning & Serverless Traffic\nManagement.\n\n## AWS documentation\n\n- **Lambda aliases** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-aliases.html\n- **Traffic shifting** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Ftraffic-shifting.html\n- **Provisioned concurrency** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html\n- **SnapStart** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fsnapstart.html\n- **API Gateway + Lambda aliases** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fset-up-lambda-integrations.html\n- **CloudWatch Lambda metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fmonitoring-metrics.html\n- **Auto Scaling for provisioned concurrency** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html#pc-auto-scaling\n","# Lambda Alias Deployer\n\nAn AWS CloudOps agent skill that provisions Lambda aliases with\ncorrect defaults. The skill walks the operator through published\nversion requirements, alias creation, traffic shifting, API Gateway\nstage integration, CloudWatch alarms per alias, provisioned\nconcurrency, and SnapStart. It captures deployment and traffic\ndecisions, explains why each default matters, and emits a\nREADY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate Lambda alias, weighted alias, traffic shift Lambda, canary\ndeployment Lambda, provisioned concurrency alias, Lambda SnapStart\nalias, API Gateway stage alias, Lambda version alias, CloudWatch\nalarm per alias.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Lambda-alias-provisioning request\n(alias name, version, traffic weights, API Gateway integration,\nprovisioned concurrency, SnapStart, or a partial configuration),\nthe agent MUST respond with the READY_TO_DEPLOY checklist defined\nin the \"Output format\" section using the literal all-caps labels\n`LAMBDA_ALIAS:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of\nthe response. This contract is what assertion-based evals and\ndownstream provisioning pipelines rely on; deviating from the\nliteral labels breaks automation silently.\n\nIf any prerequisite is missing, the verdict is\n`PREREQUISITES_MISSING` with a specific gap citation in the\nchecklist (marked `[✗]`), and `READY_TO_DEPLOY` MUST NOT also\nappear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Published version requirement | Version dependency |\n| Step 2 — Alias creation | Basic alias setup |\n| Step 3 — Traffic shifting (weighted aliases) | Canary\u002Flinear deployment |\n| Step 4 — API Gateway stage integration | API Gateway routing |\n| Step 5 — CloudWatch alarm per alias | Monitoring |\n| Step 6 — Provisioned concurrency on alias | Cold-start elimination |\n| Step 7 — Lambda SnapStart | JVM\u002FPython fast startup |\n| Step 8 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Ftraffic-shifting-and-concurrency.md | Weighted alias detail |\n| references\u002Fprovisioning-cli-commands.md | Copy-pasteable CLI sequence |\n\n\n\n\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites.\nIf any are missing, the verdict is **PREREQUISITES_MISSING** with a\nspecific gap citation.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Lambda access | Cannot provision without it | `aws sts get-caller-identity` |\n| Region selected | Lambda is region-scoped | `aws configure get region` |\n| Lambda function exists | Alias cannot point to a non-existent function | `aws lambda get-function --function-name \u003Cname>` |\n| Published version exists | Alias MUST point to a published version, not $LATEST | `aws lambda list-versions-by-function --function-name \u003Cname>` |\n| Alias name identified | Alias names are immutable after creation | Provide a name (e.g., prod, staging, canary) |\n| IAM execution role valid | Function must have a valid role | `aws lambda get-function-configuration --function-name \u003Cname>` |\n| Two versions (for traffic shifting) | Weighted aliases require two published versions | `aws lambda list-versions-by-function` |\n| SnapStart enabled on function (if applicable) | SnapStart must be configured before alias-based routing | `aws lambda get-function-configuration --function-name \u003Cname> --query SnapStart` |\n| API Gateway API exists (if integrating) | Stage must reference an existing API | `aws apigateway get-rest-apis` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Published version requirement\n\nAn alias MUST point to a published version. You cannot create an\nalias that points to `$LATEST` for production traffic.\n\n**Why published versions matter:**\n- Published versions are IMMUTABLE snapshots of the function code\n  and configuration at publish time.\n- Version numbers are auto-incremented (1, 2, 3, ...).\n- `$LATEST` is mutable — it changes on every update. Aliases pointing\n  to `$LATEST` are unstable.\n- Traffic shifting requires published versions: you cannot shift\n  weight to `$LATEST`.\n\n**Publish a version:**\n```bash\nNEW_VERSION=$(aws lambda publish-version \\\n  --function-name my-function \\\n  --query Version --output text)\n\necho \"Published version: $NEW_VERSION\"\n```\n\n**Common mistake:** updating the function code and immediately\ncreating an alias without publishing a version first. The alias\nhas nothing stable to point to. Always `publish-version` before\n`create-alias`.\n\n## Step 2 — Alias creation\n\nAn alias is a named pointer to a specific published version. It\nprovides a stable invocation ARN that consumers (API Gateway,\nEventBridge, etc.) can reference.\n\n**Create an alias:**\n```bash\naws lambda create-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --description \"Production alias\"\n```\n\n**Alias ARN format:**\n```\narn:aws:lambda:us-east-1:123456789012:function:my-function:prod\n```\n\nThe qualifier `:prod` is the alias name. Consumers invoke the\nfunction using this ARN. When you update the alias to point to a\nnew version, consumers automatically see the new version — no\nendpoint change needed.\n\n**Key rules:**\n- Alias names are immutable. To rename, delete and re-create.\n- An alias can point to only ONE version at a time (without routing\n  config). With routing config, it splits traffic between two.\n- Each function can have up to 1,000 aliases.\n- Alias description is mutable.\n\n## Step 3 — Traffic shifting (weighted aliases)\n\nTraffic shifting splits invocations between two published versions.\nThis enables canary and linear deployments without endpoint changes.\n\n**Set canary traffic (10% to new version):**\n```bash\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.1}'\n```\n\nThis sends 90% of traffic to version 5 and 10% to version 6.\n\n**Progressively shift (25% → 50% → 100%):**\n```bash\n# 25%\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.25}'\n\n# 50%\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --routing-config AdditionalVersionWeights='{\"6\":0.5}'\n\n# 100% (finalize — remove routing config)\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 6 \\\n  --routing-config '{}'\n```\n\n**Rollback (shift back to old version):**\n```bash\naws lambda update-alias \\\n  --function-name my-function \\\n  --name prod \\\n  --function-version 5 \\\n  --routing-config '{}'\n```\n\n**Common mistake:** trying to shift traffic to `$LATEST` instead of\na published version. Traffic shifting requires a specific version\nnumber in `AdditionalVersionWeights`. `$LATEST` is not a version.\n\n## Step 4 — API Gateway stage integration\n\nAPI Gateway integrates with Lambda via the alias ARN. The alias\nprovides a stable invocation target that survives version updates.\n\n**Integration setup:**\n```bash\n# API Gateway method integration uses the alias ARN\n# arn:aws:lambda:us-east-1:123456789012:function:my-function:prod\n\n# Grant API Gateway permission to invoke the alias\naws lambda add-permission \\\n  --function-name my-function:prod \\\n  --statement-id apigateway-prod \\\n  --action lambda:InvokeFunction \\\n  --principal apigateway.amazonaws.com \\\n  --source-arn \"arn:aws:execute-api:us-east-1:123456789012:abc123\u002F*\u002FGET\u002Fhello\"\n```\n\n**Key rules:**\n- The integration URI must include the alias qualifier:\n  `arn:...:function:my-function:prod`\n- Without the qualifier, API Gateway invokes `$LATEST`, bypassing\n  the alias entirely. This defeats traffic shifting.\n- Permission must be granted to the ALIAS, not just the function.\n  Use `function-name:alias` in `add-permission`.\n- When the alias shifts traffic, API Gateway automatically routes\n  to the weighted versions — no API Gateway change needed.\n\n**Common mistake:** configuring the API Gateway integration with\nthe function ARN (no qualifier). This invokes `$LATEST` directly,\nbypassing the alias and all traffic-shifting logic. Always include\nthe alias qualifier in the integration URI.\n\n## Step 5 — CloudWatch alarm per alias\n\nCloudWatch metrics for Lambda are scoped by the `FunctionName` and\n`Resource` dimensions. To monitor a specific alias, use the alias\nARN as the `Resource` dimension.\n\n**Create an alarm scoped to an alias:**\n```bash\naws cloudwatch put-metric-alarm \\\n  --alarm-name \"my-function-prod-errors\" \\\n  --metric-name Errors \\\n  --namespace AWS\u002FLambda \\\n  --statistic Sum \\\n  --period 60 \\\n  --threshold 5 \\\n  --comparison-operator GreaterThanThreshold \\\n  --dimensions Name=FunctionName,Value=my-function Name=Resource,Value=my-function:prod \\\n  --evaluation-periods 1 \\\n  --alarm-actions \"arn:aws:sns:us-east-1:123456789012:alerts\"\n```\n\n**Key dimensions:**\n- `FunctionName`: the function name (e.g., `my-function`).\n- `Resource`: the function + qualifier (e.g., `my-function:prod`).\n  Without this, metrics are aggregated across all versions.\n\n**Metrics available per alias:**\n- `Errors`: invocation errors scoped to this alias.\n- `Throttles`: throttled invocations scoped to this alias.\n- `Duration`: execution time scoped to this alias.\n- `Invocations`: total invocations scoped to this alias.\n- `ConcurrentExecutions`: concurrent executions (use alias qualifier).\n- `ProvisionedConcurrencyInvocations` \u002F `ProvisionedConcurrencySpilloverInvocations`.\n\n**Common mistake:** creating the alarm without the `Resource`\ndimension. The alarm aggregates across all versions and `$LATEST`,\nmaking it impossible to detect errors specific to the alias.\n\n## Step 6 — Provisioned concurrency on alias\n\nProvisioned concurrency pre-initializes execution environments to\neliminate cold starts. Configure it on the ALIAS so it follows\ntraffic shifts.\n\n**Configure provisioned concurrency on an alias:**\n```bash\naws lambda put-provisioned-concurrency-config \\\n  --function-name my-function \\\n  --qualifier prod \\\n  --provisioned-concurrent-executions 10\n```\n\n**Verification:**\n```bash\naws lambda get-provisioned-concurrency-config \\\n  --function-name my-function \\\n  --qualifier prod\n```\n\n**Key rules:**\n- The `--qualifier` is the alias name (e.g., `prod`), NOT a version\n  number. This is what makes provisioned concurrency follow the alias.\n- Provisioned concurrency is billed regardless of invocations. Right-\n  size based on steady-state, not peak.\n- Use Application Auto Scaling to adjust dynamically based on\n  utilization (ProvisionedConcurrencyUtilization metric).\n\n**Auto Scaling for provisioned concurrency:**\n```bash\n# Register as a scalable target\naws application-autoscaling register-scalable-target \\\n  --service-namespace lambda \\\n  --resource-id function:my-function:prod \\\n  --scalable-dimension lambda:function:ProvisionedConcurrency \\\n  --min-capacity 2 \\\n  --max-capacity 20\n\n# Target tracking policy\naws application-autoscaling put-scaling-policy \\\n  --policy-name prod-provisioned-scaling \\\n  --service-namespace lambda \\\n  --resource-id function:my-function:prod \\\n  --scalable-dimension lambda:function:ProvisionedConcurrency \\\n  --policy-type TargetTrackingScaling \\\n  --target-tracking-scaling-policy-configuration '{\n    \"TargetValue\": 70.0,\n    \"PredefinedMetricSpecification\": {\n      \"PredefinedMetricType\": \"LambdaProvisionedConcurrencyUtilization\"\n    }\n  }'\n```\n\n## Step 7 — Lambda SnapStart\n\nSnapStart reduces cold-start times for supported runtimes (Java,\nPython) by restoring pre-initialized execution environments from\nsnapshots. SnapStart is configured on the FUNCTION, but snapshots\nare per-VERSION. The alias routes to the correct snapshot.\n\n**Enable SnapStart on the function:**\n```bash\naws lambda update-function-configuration \\\n  --function-name my-function \\\n  --snap-start ApplyOn=PublishedVersions\n```\n\n**Publish a new version (SnapStart creates a snapshot for this version):**\n```bash\naws lambda publish-version \\\n  --function-name my-function\n```\n\n**Verify SnapStart status:**\n```bash\naws lambda get-function-configuration \\\n  --function-name my-function \\\n  --qualifier 5 \\\n  --query 'SnapStart'\n```\n\n**Key rules:**\n- SnapStart must be enabled on the function BEFORE publishing\n  versions. Existing versions do NOT get snapshots retroactively.\n- Each published version gets its OWN snapshot. The alias routes\n  to the correct snapshot automatically.\n- SnapStart snapshots are restored in milliseconds (vs seconds for\n  full JVM initialization).\n- SnapStart is available for `java11`, `java17`, `java21`, and\n  `python3.12` runtimes (as of 2026).\n\n**Common mistake:** enabling SnapStart after publishing the version.\nThe version does not get a snapshot. You must enable SnapStart on\nthe function first, then publish a new version. The new version\nwill have the snapshot.\n\n**SnapStart + traffic shifting:** when you shift traffic between\ntwo versions, each version has its own snapshot. There is no\nadditional configuration needed — the alias handles routing to\nthe correct snapshot.\n\n## Step 8 — Recent features\n\nThe 2023-2026 feature notes (SnapStart for Python\u002FJava 21, Auto Scaling,\nper-alias Insights, recursive detection, X-Ray) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER point a production alias to `$LATEST`.** `$LATEST` is\n   mutable and changes on every function update. The alias target\n   would change silently, bypassing traffic-shifting safety. Always\n   point to a published version.\n\n2. **NEVER configure provisioned concurrency on a version number\n   instead of an alias.** Version-level provisioned concurrency is\n   lost when the alias re-points to a new version. Always use\n   alias-level provisioned concurrency (`--qualifier \u003Calias-name>`).\n\n3. **NEVER shift traffic to `$LATEST`.** Traffic shifting requires\n   a published version number in `AdditionalVersionWeights`. `$LATEST`\n   is not a version and will cause an API error.\n\n4. **NEVER configure API Gateway integration without the alias\n   qualifier.** Without `:prod` (or the alias name), API Gateway\n   invokes `$LATEST` directly, bypassing the alias and all traffic-\n   shifting logic.\n\n5. **NEVER enable SnapStart after publishing the version.** SnapStart\n   snapshots are created at publish time. Existing versions do NOT\n   get snapshots retroactively. Enable SnapStart on the function\n   first, then publish a new version.\n\n## Output format\n\n```text\nLAMBDA_ALIAS: \u003Cfunction-name>:\u003Calias-name> (version \u003Cn>, weight \u003Cn>%)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Function: \u003Cfunction-name> (exists in \u003Cregion>)\n  [✓|✗] Published version: \u003Cn> (immutable snapshot)\n  [✓|✗] Alias: \u003Calias-name> → version \u003Cn>\n  [✓|✗] Traffic shifting: \u003Ccanary\u002Flinear> (version \u003Cold> \u003Cold-weight>% → version \u003Cnew> \u003Cnew-weight>%) | none\n  [✓|✗] API Gateway integration: \u003Capi-id> stage \u003Cstage> → alias \u003Calias-name> | N\u002FA\n  [✓|✗] CloudWatch alarm: \u003Calarm-name> scoped to \u003Cfunction-name>:\u003Calias-name> | N\u002FA\n  [✓|✗] Provisioned concurrency: \u003Cn> executions on alias \u003Calias-name> | disabled\n  [✓|✗] SnapStart: enabled (version \u003Cn> has snapshot) | disabled | not applicable\n  [✓|✗] Auto Scaling: target=\u003Cn>% utilization, min=\u003Cn>, max=\u003Cn> | disabled\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws lambda get-alias --function-name \u003Cfunction-name> --name \u003Calias-name>\n  aws lambda get-provisioned-concurrency-config --function-name \u003Cfunction-name> --qualifier \u003Calias-name>\n  aws cloudwatch describe-alarms --alarm-names \u003Calarm-name>\n```\n\n### Worked example — alias with canary traffic shift and provisioned concurrency\n\n```text\nLAMBDA_ALIAS: my-function:prod (version 5, weight 90%; version 6, weight 10%)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Function: my-function (exists in us-east-1)\n  [✓] Published version: 5 (current), 6 (canary)\n  [✓] Alias: prod → version 5 (90%) + version 6 (10%)\n  [✓] Traffic shifting: canary (version 5 90% → version 6 10%)\n  [✓] API Gateway integration: abc123 stage prod → alias prod\n  [✓] CloudWatch alarm: my-function-prod-errors scoped to my-function:prod\n  [✓] Provisioned concurrency: 10 executions on alias prod\n  [✓] SnapStart: disabled\n  [✓] Auto Scaling: target=70% utilization, min=2, max=20\n  [✓] Tags: Environment=production, Service=api\nVERIFICATION_COMMANDS:\n  aws lambda get-alias --function-name my-function --name prod\n  aws lambda get-provisioned-concurrency-config --function-name my-function --qualifier prod\n  aws cloudwatch describe-alarms --alarm-names my-function-prod-errors\n```\n\n\n## References (load on demand)\n\n- [references\u002Ftraffic-shifting-and-concurrency.md](references\u002Ftraffic-shifting-and-concurrency.md) — traffic-shifting strategies, rollback, pre-shift validation, provisioned concurrency placement matrix and Auto Scaling, monitoring, CodeDeploy comparison; now also the weighted-traffic-shifting lifecycle and the alias-vs-version provisioned-concurrency expert heuristics moved from SKILL.md.\n- [references\u002Fprovisioning-cli-commands.md](references\u002Fprovisioning-cli-commands.md) — copy-pasteable CLI sequence for Steps 0-7 (publish, create-alias, canary shifting, API Gateway permission, alarms, provisioned concurrency, Auto Scaling).\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Mindset framing (three misconceptions), the configuration dependency graph (immutable settings and cross-dependency gotchas), and the Step 8 recent-features notes moved from SKILL.md.\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — API error deep dives (InvalidParameterValueException, ResourceConflictException, provisioned concurrency stuck, weight not changing, API Gateway invoking $LATEST, SnapStart snapshot not created) moved from SKILL.md.\n\n## Domain\n\nAWS CloudOps \u002F Lambda Alias Provisioning & Serverless Traffic\nManagement.\n\n## AWS documentation\n\n- **Lambda aliases** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-aliases.html\n- **Traffic shifting** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Ftraffic-shifting.html\n- **Provisioned concurrency** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html\n- **SnapStart** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fsnapstart.html\n- **API Gateway + Lambda aliases** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fapigateway\u002Flatest\u002Fdeveloperguide\u002Fset-up-lambda-integrations.html\n- **CloudWatch Lambda metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fmonitoring-metrics.html\n- **Auto Scaling for provisioned concurrency** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fprovisioned-concurrency.html#pc-auto-scaling\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, lambda, alias, cloudops, deploy, compute, provisioning, traffic-shifting, canary, provisioned-concurrency, snapstart","1","Jacky Chan — AWS Community Builder","aws-cloudops","Compute","0.1.0","aws, lambda, alias, cloudops, deploy, provisioning, traffic shifting, weighted alias, canary deployment, provisioned concurrency, snapstart, api gateway, cloudwatch alarm, lambda version, stage integration","deploy","high","false","capability","Invoke when the user wants to create a Lambda alias pointing to a specific published version, configure traffic shifting between versions (weighted aliases for canary or linear deployment), set up API Gateway stage integration with a Lambda alias, create CloudWatch alarms scoped to a specific alias, configure provisioned concurrency on an alias, or enable Lambda SnapStart with alias-based routing. Do NOT invoke for Lambda function creation (use lambda function deployers), for Lambda layer management, for EventBridge rule configuration, or for auditing existing Lambda alias configurations.","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 lambda, apigateway, cloudwatch, and iam access. Works with Terraform aws_lambda_alias \u002F aws_lambda_provisioned_concurrency_config resources and CloudFormation AWS::Lambda::Alias templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Flambda-alias-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 lambda-alias-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill lambda-alias-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill lambda-alias-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-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","参考文档",4890,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fbasic-alias-versioned.md",675,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fbaselines\u002Fbasic-alias-versioned.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fcanary-traffic-shift.md",672,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fbaselines\u002Fcanary-traffic-shift.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-published-version.md",548,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fbaselines\u002Fmissing-published-version.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fprovisioned-concurrency-alias.md",582,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fbaselines\u002Fprovisioned-concurrency-alias.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fsnapstart-alias.md",570,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fbaselines\u002Fsnapstart-alias.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1741,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",9344,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fbasic-alias-versioned.md",514,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fprompts\u002Fbasic-alias-versioned.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fcanary-traffic-shift.md",402,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fprompts\u002Fcanary-traffic-shift.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-published-version.md",352,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fprompts\u002Fmissing-published-version.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fprovisioned-concurrency-alias.md",429,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fprompts\u002Fprovisioned-concurrency-alias.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fsnapstart-alias.md",413,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fevals\u002Fprompts\u002Fsnapstart-alias.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",5706,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",5515,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ferror-handling.md",1519,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Freferences\u002Ferror-handling.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fprovisioning-cli-commands.md",7261,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Freferences\u002Fprovisioning-cli-commands.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Ftraffic-shifting-and-concurrency.md",9062,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-deployer\u002Freferences\u002Ftraffic-shifting-and-concurrency.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4206,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Flambda-alias-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",[],[]]