[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-aws-auth":3,"mdc--rgwhjw-key":35,"related-repo-aws-aws-auth":1502,"related-org-aws-aws-auth":1608},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"aws-auth","add user authentication with AWS Cognito","Adds user authentication to web and mobile apps with Amazon Cognito (user pools and identity pools) and the AWS Amplify client auth libraries. Covers sign-up\u002Fsign-in flows and the login page (Cognito-hosted UI \u002F managed login), MFA, password policies, OAuth 2.0 \u002F OIDC flows (auth-code + PKCE, client credentials), social\u002FSAML federation, tokens (ID\u002Faccess\u002Frefresh, rotation, revocation, storage), Cognito Lambda triggers, identity pools (temp AWS creds), and gating API Gateway (or ALB) routes to signed-in users via Cognito\u002FJWT authorizers. Applies when adding a login or sign-up page, configuring a user pool or app client, choosing user pool vs identity pool, wiring social\u002FSAML, refreshing tokens, requiring sign-in on an API Gateway or ALB, or debugging redirect_uri\u002Ftoken\u002FMFA\u002FCORS\u002Ffederation errors. Does NOT cover Amplify Gen2 backend definitions (defineAuth, npx ampx → aws-amplify), IAM\u002FSTS\u002FIdentity Center (→ aws-iam), or API Gateway\u002FLambda resource config beyond the authorizer (→ aws-serverless).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Auth","auth","tag",{"name":17,"slug":18,"type":15},"Mobile","mobile",{"name":20,"slug":21,"type":15},"Web Development","web-development",{"name":23,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-08-01T06:06:05.601501",null,157,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fskills\u002Fcore-skills\u002Faws-auth","---\nname: aws-auth\ndescription: >\n  Adds user authentication to web and mobile apps with Amazon Cognito (user pools and identity\n  pools) and the AWS Amplify client auth libraries. Covers sign-up\u002Fsign-in flows and the login\n  page (Cognito-hosted UI \u002F managed login), MFA, password policies, OAuth 2.0 \u002F OIDC flows\n  (auth-code + PKCE, client credentials), social\u002FSAML federation, tokens (ID\u002Faccess\u002Frefresh,\n  rotation, revocation, storage), Cognito Lambda triggers, identity pools (temp AWS creds), and\n  gating API Gateway (or ALB) routes to signed-in users via Cognito\u002FJWT authorizers. Applies when\n  adding a login or sign-up page, configuring a user pool or app client, choosing user pool vs\n  identity pool, wiring social\u002FSAML, refreshing tokens, requiring sign-in on an API Gateway or\n  ALB, or debugging redirect_uri\u002Ftoken\u002FMFA\u002FCORS\u002Ffederation errors. Does NOT cover Amplify Gen2\n  backend definitions (defineAuth, npx ampx → aws-amplify), IAM\u002FSTS\u002FIdentity Center (→ aws-iam),\n  or API Gateway\u002FLambda resource config beyond the authorizer (→ aws-serverless).\nversion: 1\n---\n\n# AWS Auth (Amazon Cognito)\n\nApplication-level user authentication and authorization with Amazon Cognito and the Amplify\nclient auth libraries. Verify specific limits, quotas, and exact API shapes against official AWS\ndocumentation when precision matters; trust the docs over memory when they conflict.\n\n**Recommended:** The AWS MCP server provides streamlined access to the AWS APIs used in this skill (Cognito user pool\u002Fapp client\u002Fidentity pool setup, API Gateway authorizers). If it is unavailable, the AWS CLI commands shown throughout work directly — the skill has no hard dependency on MCP.\n\n**When NOT to use:** Amplify Gen2 backend code (`defineAuth`, `amplify\u002Fauth.ts`, `npx ampx`); IAM\npolicy\u002Frole\u002Ftrust-policy authoring, STS, or IAM Identity Center console SSO; API Gateway\nroute\u002Fintegration setup or Lambda function implementation (this skill covers only the Cognito\u002FJWT\nauthorizer configuration and the purpose of Cognito Lambda triggers).\n\n## User Pool vs Identity Pool — pick first\n\nThese are different services that are frequently confused. Most apps need a **user pool**; add an\n**identity pool only if** the client must call AWS services directly.\n\n| You need... | Use | Why |\n|-------------|-----|-----|\n| Sign-up \u002F sign-in, user directory, issue JWTs | **User pool** | It authenticates users and is an OIDC IdP |\n| The signed-in client to call S3\u002FDynamoDB\u002Fetc. directly with AWS credentials | **Identity pool** | It exchanges a token for temporary AWS credentials via STS |\n| Both (sign in, then hit AWS resources from the browser\u002Fapp) | User pool → identity pool | Identity pool trusts the user pool as its IdP |\n\nIf your app only calls your own backend\u002FAPI, you do **not** need an identity pool — send the user\npool token to your API. See [identity-pools.md](references\u002Fidentity-pools.md).\n\n## Critical Warnings\n\n**`update-user-pool-client` and `set-identity-pool-roles` are FULL REPLACE, not partial updates**: Any field you omit is reset to its default — calling `update-user-pool-client` with only the fields you want to change silently wipes `ExplicitAuthFlows`, token validity, `EnableTokenRevocation`, refresh-token rotation, and read\u002Fwrite attributes; `set-identity-pool-roles` likewise replaces the whole roles + `RoleMappings` structure. **Always read-modify-write**: `describe-user-pool-client` (or `get-identity-pool-roles`) first, then re-send every existing field plus your change. In an agent context the wipe is invisible — the call succeeds and only breaks later when a user hits the missing flow. See [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md) and [identity-pools.md](references\u002Fidentity-pools.md).\n\n**Don't use the implicit grant for new apps**: The implicit grant (`response_type=token`) is legacy and returns tokens in the URL fragment. Use the **authorization code grant with PKCE** (`response_type=code` + `code_challenge`) for SPAs and mobile — public clients, no client secret. See [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md).\n\n**Don't store refresh tokens in localStorage for high-value apps**: `localStorage` is readable by any injected script (XSS). The Amplify client library defaults to `localStorage`; switch to `cookieStorage`, keep refresh-token lifetime short, and enable **refresh token rotation** + **token revocation** on the app client. See [tokens-and-sessions.md](references\u002Ftokens-and-sessions.md).\n\n**Access-token claim customization needs a paid feature plan**: The pre token generation trigger customizes the **ID token** on the entry-level plan (V1), but customizing the **access token** (V2\u002FV3) requires a **paid feature plan** — check the [Cognito feature plans documentation](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fcognito-sign-in-feature-plans.html) for which plan currently includes this, as plan names and inclusions can change. Don't assume access-token claims work on the entry-level plan. See [lambda-triggers.md](references\u002Flambda-triggers.md).\n\n**App client secret + SPA = broken auth**: A public client (browser\u002Fmobile) must have **no client secret**. If a secret is set, token calls fail unless a `SECRET_HASH` is sent, which a browser cannot protect. Generate a secret only for confidential (server-side) clients.\n\n**Don't bulk `admin-confirm-sign-up` UNCONFIRMED users**: When users are stuck `UNCONFIRMED`, prefer `resend-confirmation-code` so each user re-verifies via `confirm-sign-up` and proves email ownership (the code likely expired or went to spam). `admin-confirm-sign-up` flips the status instantly but confirms the account **without verifying the email** — the attribute stays unverified, which is dangerous when email drives password reset or account linking. Reserve it for trusted\u002Fmigrated accounts. See [troubleshooting.md](references\u002Ftroubleshooting.md).\n\n## Quick Navigation\n\n| You want to... | Go to |\n|----------------|-------|\n| Create a user pool, sign-up\u002Fsign-in, MFA, password policy, app clients | [user-pools.md](references\u002Fuser-pools.md) |\n| Add hosted UI \u002F managed login, OAuth flows, social or SAML login, callback URLs, **custom domain (ACM in us-east-1)** | [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md) |\n| Handle ID\u002Faccess\u002Frefresh tokens, rotation, revocation, **session termination (global sign-out vs revoke vs disable)** | [tokens-and-sessions.md](references\u002Ftokens-and-sessions.md) |\n| Give the client temporary AWS credentials, guest access, role mapping | [identity-pools.md](references\u002Fidentity-pools.md) |\n| Protect an API Gateway API with Cognito tokens (**and enforce custom claims in the backend**) | [api-authorization.md](references\u002Fapi-authorization.md) |\n| Add Cognito login in front of an Application Load Balancer (ALB `authenticate-cognito`) | [api-authorization.md](references\u002Fapi-authorization.md) |\n| Machine-to-machine (client credentials) auth, resource servers, custom scopes | [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md) |\n| Create user pool groups and add users to them (`cognito:groups`, `Precedence`) | [user-pools.md](references\u002Fuser-pools.md) |\n| Customize claims, custom auth challenge flows, migrate users, validate sign-up | [lambda-triggers.md](references\u002Flambda-triggers.md) |\n| Add **passkey \u002F WebAuthn** sign-in (`USER_AUTH` flow, `AllowedFirstAuthFactors`, WebAuthn enrollment) | [passkeys.md](references\u002Fpasskeys.md) |\n| Configure **threat protection** — compromised-credentials block, adaptive auth (risk-based MFA), log delivery to CloudWatch | [threat-protection.md](references\u002Fthreat-protection.md) |\n| Something is broken (redirect, token, MFA, CORS, social login) | [troubleshooting.md](references\u002Ftroubleshooting.md) |\n\n## Common Workflows\n\n**\"Add sign-up and login to my React app\"** → Create a user pool + a public app client (no secret), enable the hosted UI \u002F managed login with the authorization code grant with PKCE, wire the Amplify client library. See [user-pools.md](references\u002Fuser-pools.md) and [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md).\n\n**\"Add Google \u002F social login\"** → Register the social IdP on the user pool, map attributes, add the provider to the app client and hosted UI. See [managed-login-oauth.md](references\u002Fmanaged-login-oauth.md).\n\n**\"Only authenticated users should call my API\"** → HTTP API → JWT authorizer; REST API → Cognito user pools authorizer. See [api-authorization.md](references\u002Fapi-authorization.md).\n\n**\"Let the browser upload to S3 after login\"** → User pool for sign-in, then an identity pool to vend scoped temporary credentials. See [identity-pools.md](references\u002Fidentity-pools.md).\n\n## Troubleshooting\n\n| Error\u002FSymptom | Likely Cause | Quick Fix |\n|---------------|-------------|-----------|\n| `redirect_mismatch` \u002F redirect to wrong URL after login | Callback URL not registered, or scheme\u002Ftrailing-slash\u002Fcase differs | Add the exact callback URL (incl. scheme and path) to the app client's Allowed callback URLs |\n| Token calls fail with \"unable to verify secret hash\" | Client secret set on a public (SPA\u002Fmobile) client | Recreate the app client with no secret, or send `SECRET_HASH` from a confidential client |\n| Users get 401 from API Gateway with a valid token | Wrong token type or audience\u002Fissuer mismatch | HTTP JWT authorizer: issuer `https:\u002F\u002Fcognito-idp.{region}.amazonaws.com\u002F{userPoolId}`, audience = app client id; send the token the authorizer expects |\n| CORS errors calling the hosted UI \u002F token endpoint | Browser calling `\u002Foauth2\u002Ftoken` cross-origin, or missing CORS on your API | Do the code exchange with PKCE; don't proxy the token endpoint from the browser |\n| Social login user \"already exists\" \u002F attribute conflict | Same email across providers creates separate users | Enable attribute mapping + account linking; treat email as non-unique across IdPs |\n\nFull tables in [troubleshooting.md](references\u002Ftroubleshooting.md).\n\n## Security Considerations\n\n- Public clients (SPA\u002Fmobile): **no client secret**, authorization code grant **with PKCE**, request least-privilege scopes.\n- Enable **MFA** (TOTP or SMS), a strong password policy, and **advanced security \u002F threat protection** where available.\n- Short access-token lifetime; enable **refresh token rotation** and **token revocation**; prefer `cookieStorage` over `localStorage`.\n- Identity pools: scope the authenticated IAM role tightly; disable unauthenticated (guest) access unless required.\n- Validate JWTs against the user pool JWKS (`iss`, `aud`\u002F`client_id`, `token_use`, `exp`) on every protected request. Use a maintained library such as [`aws-jwt-verify`](https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-jwt-verify) rather than hand-rolling verification.\n- Set security headers on the app's web pages: `Content-Security-Policy` (restrict script sources to mitigate token-stealing XSS), `Strict-Transport-Security` (HSTS), `X-Frame-Options`\u002F`frame-ancestors` (clickjacking on login pages), and `X-Content-Type-Options: nosniff`.\n- Enable logging and monitoring: CloudTrail for Cognito API events (sign-up\u002Fsign-in\u002Fadmin), user pool threat protection (adaptive auth + event logging), CloudWatch alarms on failed\u002Fthrottled auth, and API Gateway access logging for authorizer decisions.\n- All Cognito and API endpoints are HTTPS\u002FTLS only; enable encryption at rest with a customer-managed KMS key (and restricted key access) on CloudWatch Log groups, SNS topics used for MFA\u002Fnotifications, and any identity-pool-fronted upload buckets.\n- If using SNS for MFA\u002Fnotification delivery, enable server-side encryption (KMS) on the topic, and keep SMS\u002Femail message content limited to what the recipient needs — don't include more PII than the message requires.\n- References: [Amazon Cognito security features (user pools)](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fmanaging-security.html), [Amazon Cognito security (top-level, incl. identity pools)](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fsecurity.html), and [IAM\u002FSTS best practices](https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html).\n\n## Where to Look When This Skill Is Silent\n\nWhen you need depth beyond this skill — exact parameter shapes, current limits, edge behaviors — fall back to the authoritative AWS sources rather than guessing. Pointers age much slower than content, so this map stays useful without the skill having to grow.\n\n- **API reference (exact params, defaults, errors):** [Cognito User Pools API](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito-user-identity-pools\u002Flatest\u002FAPIReference\u002F) and [Cognito Identity API](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognitoidentity\u002Flatest\u002FAPIReference\u002F)\n- **Developer Guide (concepts, workflows):** [Amazon Cognito Developer Guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002F)\n- **Quotas, rate limits, session-cookie lifetime:** [Cognito quotas](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Flimits.html)\n- **Feature plans \u002F tier gating:** [Cognito feature plans](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fcognito-sign-in-feature-plans.html)\n- **Pricing:** [Amazon Cognito pricing](https:\u002F\u002Faws.amazon.com\u002Fcognito\u002Fpricing\u002F)\n- **CLI reference:** [aws cognito-idp](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcognito-idp\u002F) and [aws cognito-identity](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcognito-identity\u002F)\n\n## Not Covered By This Skill\n\n- **Amplify Gen2 backend** (`defineAuth`, `amplify\u002Fauth.ts`, `npx ampx sandbox`).\n- **IAM policy\u002Frole\u002Ftrust-policy authoring, STS, IAM Identity Center console SSO.**\n- **API Gateway route\u002Fintegration setup and Lambda function implementation** (this skill covers only the Cognito\u002FJWT authorizer configuration and the purpose of Cognito Lambda triggers).\n",{"data":36,"body":38},{"name":4,"description":6,"version":37},1,{"type":39,"children":40},"root",[41,50,56,67,101,108,127,220,241,247,344,390,442,490,515,578,584,862,868,888,903,918,933,939,1085,1095,1101,1320,1326,1331,1446,1452],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"aws-auth-amazon-cognito",[47],{"type":48,"value":49},"text","AWS Auth (Amazon Cognito)",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"Application-level user authentication and authorization with Amazon Cognito and the Amplify\nclient auth libraries. Verify specific limits, quotas, and exact API shapes against official AWS\ndocumentation when precision matters; trust the docs over memory when they conflict.",{"type":42,"tag":51,"props":57,"children":58},{},[59,65],{"type":42,"tag":60,"props":61,"children":62},"strong",{},[63],{"type":48,"value":64},"Recommended:",{"type":48,"value":66}," The AWS MCP server provides streamlined access to the AWS APIs used in this skill (Cognito user pool\u002Fapp client\u002Fidentity pool setup, API Gateway authorizers). If it is unavailable, the AWS CLI commands shown throughout work directly — the skill has no hard dependency on MCP.",{"type":42,"tag":51,"props":68,"children":69},{},[70,75,77,84,86,92,93,99],{"type":42,"tag":60,"props":71,"children":72},{},[73],{"type":48,"value":74},"When NOT to use:",{"type":48,"value":76}," Amplify Gen2 backend code (",{"type":42,"tag":78,"props":79,"children":81},"code",{"className":80},[],[82],{"type":48,"value":83},"defineAuth",{"type":48,"value":85},", ",{"type":42,"tag":78,"props":87,"children":89},{"className":88},[],[90],{"type":48,"value":91},"amplify\u002Fauth.ts",{"type":48,"value":85},{"type":42,"tag":78,"props":94,"children":96},{"className":95},[],[97],{"type":48,"value":98},"npx ampx",{"type":48,"value":100},"); IAM\npolicy\u002Frole\u002Ftrust-policy authoring, STS, or IAM Identity Center console SSO; API Gateway\nroute\u002Fintegration setup or Lambda function implementation (this skill covers only the Cognito\u002FJWT\nauthorizer configuration and the purpose of Cognito Lambda triggers).",{"type":42,"tag":102,"props":103,"children":105},"h2",{"id":104},"user-pool-vs-identity-pool-pick-first",[106],{"type":48,"value":107},"User Pool vs Identity Pool — pick first",{"type":42,"tag":51,"props":109,"children":110},{},[111,113,118,120,125],{"type":48,"value":112},"These are different services that are frequently confused. Most apps need a ",{"type":42,"tag":60,"props":114,"children":115},{},[116],{"type":48,"value":117},"user pool",{"type":48,"value":119},"; add an\n",{"type":42,"tag":60,"props":121,"children":122},{},[123],{"type":48,"value":124},"identity pool only if",{"type":48,"value":126}," the client must call AWS services directly.",{"type":42,"tag":128,"props":129,"children":130},"table",{},[131,155],{"type":42,"tag":132,"props":133,"children":134},"thead",{},[135],{"type":42,"tag":136,"props":137,"children":138},"tr",{},[139,145,150],{"type":42,"tag":140,"props":141,"children":142},"th",{},[143],{"type":48,"value":144},"You need...",{"type":42,"tag":140,"props":146,"children":147},{},[148],{"type":48,"value":149},"Use",{"type":42,"tag":140,"props":151,"children":152},{},[153],{"type":48,"value":154},"Why",{"type":42,"tag":156,"props":157,"children":158},"tbody",{},[159,181,202],{"type":42,"tag":136,"props":160,"children":161},{},[162,168,176],{"type":42,"tag":163,"props":164,"children":165},"td",{},[166],{"type":48,"value":167},"Sign-up \u002F sign-in, user directory, issue JWTs",{"type":42,"tag":163,"props":169,"children":170},{},[171],{"type":42,"tag":60,"props":172,"children":173},{},[174],{"type":48,"value":175},"User pool",{"type":42,"tag":163,"props":177,"children":178},{},[179],{"type":48,"value":180},"It authenticates users and is an OIDC IdP",{"type":42,"tag":136,"props":182,"children":183},{},[184,189,197],{"type":42,"tag":163,"props":185,"children":186},{},[187],{"type":48,"value":188},"The signed-in client to call S3\u002FDynamoDB\u002Fetc. directly with AWS credentials",{"type":42,"tag":163,"props":190,"children":191},{},[192],{"type":42,"tag":60,"props":193,"children":194},{},[195],{"type":48,"value":196},"Identity pool",{"type":42,"tag":163,"props":198,"children":199},{},[200],{"type":48,"value":201},"It exchanges a token for temporary AWS credentials via STS",{"type":42,"tag":136,"props":203,"children":204},{},[205,210,215],{"type":42,"tag":163,"props":206,"children":207},{},[208],{"type":48,"value":209},"Both (sign in, then hit AWS resources from the browser\u002Fapp)",{"type":42,"tag":163,"props":211,"children":212},{},[213],{"type":48,"value":214},"User pool → identity pool",{"type":42,"tag":163,"props":216,"children":217},{},[218],{"type":48,"value":219},"Identity pool trusts the user pool as its IdP",{"type":42,"tag":51,"props":221,"children":222},{},[223,225,230,232,239],{"type":48,"value":224},"If your app only calls your own backend\u002FAPI, you do ",{"type":42,"tag":60,"props":226,"children":227},{},[228],{"type":48,"value":229},"not",{"type":48,"value":231}," need an identity pool — send the user\npool token to your API. See ",{"type":42,"tag":233,"props":234,"children":236},"a",{"href":235},"references\u002Fidentity-pools.md",[237],{"type":48,"value":238},"identity-pools.md",{"type":48,"value":240},".",{"type":42,"tag":102,"props":242,"children":244},{"id":243},"critical-warnings",[245],{"type":48,"value":246},"Critical Warnings",{"type":42,"tag":51,"props":248,"children":249},{},[250,269,271,276,278,284,286,292,294,299,301,307,309,314,316,322,324,330,332,338,339,343],{"type":42,"tag":60,"props":251,"children":252},{},[253,259,261,267],{"type":42,"tag":78,"props":254,"children":256},{"className":255},[],[257],{"type":48,"value":258},"update-user-pool-client",{"type":48,"value":260}," and ",{"type":42,"tag":78,"props":262,"children":264},{"className":263},[],[265],{"type":48,"value":266},"set-identity-pool-roles",{"type":48,"value":268}," are FULL REPLACE, not partial updates",{"type":48,"value":270},": Any field you omit is reset to its default — calling ",{"type":42,"tag":78,"props":272,"children":274},{"className":273},[],[275],{"type":48,"value":258},{"type":48,"value":277}," with only the fields you want to change silently wipes ",{"type":42,"tag":78,"props":279,"children":281},{"className":280},[],[282],{"type":48,"value":283},"ExplicitAuthFlows",{"type":48,"value":285},", token validity, ",{"type":42,"tag":78,"props":287,"children":289},{"className":288},[],[290],{"type":48,"value":291},"EnableTokenRevocation",{"type":48,"value":293},", refresh-token rotation, and read\u002Fwrite attributes; ",{"type":42,"tag":78,"props":295,"children":297},{"className":296},[],[298],{"type":48,"value":266},{"type":48,"value":300}," likewise replaces the whole roles + ",{"type":42,"tag":78,"props":302,"children":304},{"className":303},[],[305],{"type":48,"value":306},"RoleMappings",{"type":48,"value":308}," structure. ",{"type":42,"tag":60,"props":310,"children":311},{},[312],{"type":48,"value":313},"Always read-modify-write",{"type":48,"value":315},": ",{"type":42,"tag":78,"props":317,"children":319},{"className":318},[],[320],{"type":48,"value":321},"describe-user-pool-client",{"type":48,"value":323}," (or ",{"type":42,"tag":78,"props":325,"children":327},{"className":326},[],[328],{"type":48,"value":329},"get-identity-pool-roles",{"type":48,"value":331},") first, then re-send every existing field plus your change. In an agent context the wipe is invisible — the call succeeds and only breaks later when a user hits the missing flow. See ",{"type":42,"tag":233,"props":333,"children":335},{"href":334},"references\u002Fmanaged-login-oauth.md",[336],{"type":48,"value":337},"managed-login-oauth.md",{"type":48,"value":260},{"type":42,"tag":233,"props":340,"children":341},{"href":235},[342],{"type":48,"value":238},{"type":48,"value":240},{"type":42,"tag":51,"props":345,"children":346},{},[347,352,354,360,362,367,369,375,377,383,385,389],{"type":42,"tag":60,"props":348,"children":349},{},[350],{"type":48,"value":351},"Don't use the implicit grant for new apps",{"type":48,"value":353},": The implicit grant (",{"type":42,"tag":78,"props":355,"children":357},{"className":356},[],[358],{"type":48,"value":359},"response_type=token",{"type":48,"value":361},") is legacy and returns tokens in the URL fragment. Use the ",{"type":42,"tag":60,"props":363,"children":364},{},[365],{"type":48,"value":366},"authorization code grant with PKCE",{"type":48,"value":368}," (",{"type":42,"tag":78,"props":370,"children":372},{"className":371},[],[373],{"type":48,"value":374},"response_type=code",{"type":48,"value":376}," + ",{"type":42,"tag":78,"props":378,"children":380},{"className":379},[],[381],{"type":48,"value":382},"code_challenge",{"type":48,"value":384},") for SPAs and mobile — public clients, no client secret. See ",{"type":42,"tag":233,"props":386,"children":387},{"href":334},[388],{"type":48,"value":337},{"type":48,"value":240},{"type":42,"tag":51,"props":391,"children":392},{},[393,398,399,405,407,412,414,420,422,427,428,433,435,441],{"type":42,"tag":60,"props":394,"children":395},{},[396],{"type":48,"value":397},"Don't store refresh tokens in localStorage for high-value apps",{"type":48,"value":315},{"type":42,"tag":78,"props":400,"children":402},{"className":401},[],[403],{"type":48,"value":404},"localStorage",{"type":48,"value":406}," is readable by any injected script (XSS). The Amplify client library defaults to ",{"type":42,"tag":78,"props":408,"children":410},{"className":409},[],[411],{"type":48,"value":404},{"type":48,"value":413},"; switch to ",{"type":42,"tag":78,"props":415,"children":417},{"className":416},[],[418],{"type":48,"value":419},"cookieStorage",{"type":48,"value":421},", keep refresh-token lifetime short, and enable ",{"type":42,"tag":60,"props":423,"children":424},{},[425],{"type":48,"value":426},"refresh token rotation",{"type":48,"value":376},{"type":42,"tag":60,"props":429,"children":430},{},[431],{"type":48,"value":432},"token revocation",{"type":48,"value":434}," on the app client. See ",{"type":42,"tag":233,"props":436,"children":438},{"href":437},"references\u002Ftokens-and-sessions.md",[439],{"type":48,"value":440},"tokens-and-sessions.md",{"type":48,"value":240},{"type":42,"tag":51,"props":443,"children":444},{},[445,450,452,457,459,464,466,471,473,481,483,489],{"type":42,"tag":60,"props":446,"children":447},{},[448],{"type":48,"value":449},"Access-token claim customization needs a paid feature plan",{"type":48,"value":451},": The pre token generation trigger customizes the ",{"type":42,"tag":60,"props":453,"children":454},{},[455],{"type":48,"value":456},"ID token",{"type":48,"value":458}," on the entry-level plan (V1), but customizing the ",{"type":42,"tag":60,"props":460,"children":461},{},[462],{"type":48,"value":463},"access token",{"type":48,"value":465}," (V2\u002FV3) requires a ",{"type":42,"tag":60,"props":467,"children":468},{},[469],{"type":48,"value":470},"paid feature plan",{"type":48,"value":472}," — check the ",{"type":42,"tag":233,"props":474,"children":478},{"href":475,"rel":476},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fcognito-sign-in-feature-plans.html",[477],"nofollow",[479],{"type":48,"value":480},"Cognito feature plans documentation",{"type":48,"value":482}," for which plan currently includes this, as plan names and inclusions can change. Don't assume access-token claims work on the entry-level plan. See ",{"type":42,"tag":233,"props":484,"children":486},{"href":485},"references\u002Flambda-triggers.md",[487],{"type":48,"value":488},"lambda-triggers.md",{"type":48,"value":240},{"type":42,"tag":51,"props":491,"children":492},{},[493,498,500,505,507,513],{"type":42,"tag":60,"props":494,"children":495},{},[496],{"type":48,"value":497},"App client secret + SPA = broken auth",{"type":48,"value":499},": A public client (browser\u002Fmobile) must have ",{"type":42,"tag":60,"props":501,"children":502},{},[503],{"type":48,"value":504},"no client secret",{"type":48,"value":506},". If a secret is set, token calls fail unless a ",{"type":42,"tag":78,"props":508,"children":510},{"className":509},[],[511],{"type":48,"value":512},"SECRET_HASH",{"type":48,"value":514}," is sent, which a browser cannot protect. Generate a secret only for confidential (server-side) clients.",{"type":42,"tag":51,"props":516,"children":517},{},[518,531,533,539,541,547,549,555,557,562,564,569,571,577],{"type":42,"tag":60,"props":519,"children":520},{},[521,523,529],{"type":48,"value":522},"Don't bulk ",{"type":42,"tag":78,"props":524,"children":526},{"className":525},[],[527],{"type":48,"value":528},"admin-confirm-sign-up",{"type":48,"value":530}," UNCONFIRMED users",{"type":48,"value":532},": When users are stuck ",{"type":42,"tag":78,"props":534,"children":536},{"className":535},[],[537],{"type":48,"value":538},"UNCONFIRMED",{"type":48,"value":540},", prefer ",{"type":42,"tag":78,"props":542,"children":544},{"className":543},[],[545],{"type":48,"value":546},"resend-confirmation-code",{"type":48,"value":548}," so each user re-verifies via ",{"type":42,"tag":78,"props":550,"children":552},{"className":551},[],[553],{"type":48,"value":554},"confirm-sign-up",{"type":48,"value":556}," and proves email ownership (the code likely expired or went to spam). ",{"type":42,"tag":78,"props":558,"children":560},{"className":559},[],[561],{"type":48,"value":528},{"type":48,"value":563}," flips the status instantly but confirms the account ",{"type":42,"tag":60,"props":565,"children":566},{},[567],{"type":48,"value":568},"without verifying the email",{"type":48,"value":570}," — the attribute stays unverified, which is dangerous when email drives password reset or account linking. Reserve it for trusted\u002Fmigrated accounts. See ",{"type":42,"tag":233,"props":572,"children":574},{"href":573},"references\u002Ftroubleshooting.md",[575],{"type":48,"value":576},"troubleshooting.md",{"type":48,"value":240},{"type":42,"tag":102,"props":579,"children":581},{"id":580},"quick-navigation",[582],{"type":48,"value":583},"Quick Navigation",{"type":42,"tag":128,"props":585,"children":586},{},[587,603],{"type":42,"tag":132,"props":588,"children":589},{},[590],{"type":42,"tag":136,"props":591,"children":592},{},[593,598],{"type":42,"tag":140,"props":594,"children":595},{},[596],{"type":48,"value":597},"You want to...",{"type":42,"tag":140,"props":599,"children":600},{},[601],{"type":48,"value":602},"Go to",{"type":42,"tag":156,"props":604,"children":605},{},[606,623,643,663,678,702,724,739,768,783,823,847],{"type":42,"tag":136,"props":607,"children":608},{},[609,614],{"type":42,"tag":163,"props":610,"children":611},{},[612],{"type":48,"value":613},"Create a user pool, sign-up\u002Fsign-in, MFA, password policy, app clients",{"type":42,"tag":163,"props":615,"children":616},{},[617],{"type":42,"tag":233,"props":618,"children":620},{"href":619},"references\u002Fuser-pools.md",[621],{"type":48,"value":622},"user-pools.md",{"type":42,"tag":136,"props":624,"children":625},{},[626,636],{"type":42,"tag":163,"props":627,"children":628},{},[629,631],{"type":48,"value":630},"Add hosted UI \u002F managed login, OAuth flows, social or SAML login, callback URLs, ",{"type":42,"tag":60,"props":632,"children":633},{},[634],{"type":48,"value":635},"custom domain (ACM in us-east-1)",{"type":42,"tag":163,"props":637,"children":638},{},[639],{"type":42,"tag":233,"props":640,"children":641},{"href":334},[642],{"type":48,"value":337},{"type":42,"tag":136,"props":644,"children":645},{},[646,656],{"type":42,"tag":163,"props":647,"children":648},{},[649,651],{"type":48,"value":650},"Handle ID\u002Faccess\u002Frefresh tokens, rotation, revocation, ",{"type":42,"tag":60,"props":652,"children":653},{},[654],{"type":48,"value":655},"session termination (global sign-out vs revoke vs disable)",{"type":42,"tag":163,"props":657,"children":658},{},[659],{"type":42,"tag":233,"props":660,"children":661},{"href":437},[662],{"type":48,"value":440},{"type":42,"tag":136,"props":664,"children":665},{},[666,671],{"type":42,"tag":163,"props":667,"children":668},{},[669],{"type":48,"value":670},"Give the client temporary AWS credentials, guest access, role mapping",{"type":42,"tag":163,"props":672,"children":673},{},[674],{"type":42,"tag":233,"props":675,"children":676},{"href":235},[677],{"type":48,"value":238},{"type":42,"tag":136,"props":679,"children":680},{},[681,693],{"type":42,"tag":163,"props":682,"children":683},{},[684,686,691],{"type":48,"value":685},"Protect an API Gateway API with Cognito tokens (",{"type":42,"tag":60,"props":687,"children":688},{},[689],{"type":48,"value":690},"and enforce custom claims in the backend",{"type":48,"value":692},")",{"type":42,"tag":163,"props":694,"children":695},{},[696],{"type":42,"tag":233,"props":697,"children":699},{"href":698},"references\u002Fapi-authorization.md",[700],{"type":48,"value":701},"api-authorization.md",{"type":42,"tag":136,"props":703,"children":704},{},[705,717],{"type":42,"tag":163,"props":706,"children":707},{},[708,710,716],{"type":48,"value":709},"Add Cognito login in front of an Application Load Balancer (ALB ",{"type":42,"tag":78,"props":711,"children":713},{"className":712},[],[714],{"type":48,"value":715},"authenticate-cognito",{"type":48,"value":692},{"type":42,"tag":163,"props":718,"children":719},{},[720],{"type":42,"tag":233,"props":721,"children":722},{"href":698},[723],{"type":48,"value":701},{"type":42,"tag":136,"props":725,"children":726},{},[727,732],{"type":42,"tag":163,"props":728,"children":729},{},[730],{"type":48,"value":731},"Machine-to-machine (client credentials) auth, resource servers, custom scopes",{"type":42,"tag":163,"props":733,"children":734},{},[735],{"type":42,"tag":233,"props":736,"children":737},{"href":334},[738],{"type":48,"value":337},{"type":42,"tag":136,"props":740,"children":741},{},[742,761],{"type":42,"tag":163,"props":743,"children":744},{},[745,747,753,754,760],{"type":48,"value":746},"Create user pool groups and add users to them (",{"type":42,"tag":78,"props":748,"children":750},{"className":749},[],[751],{"type":48,"value":752},"cognito:groups",{"type":48,"value":85},{"type":42,"tag":78,"props":755,"children":757},{"className":756},[],[758],{"type":48,"value":759},"Precedence",{"type":48,"value":692},{"type":42,"tag":163,"props":762,"children":763},{},[764],{"type":42,"tag":233,"props":765,"children":766},{"href":619},[767],{"type":48,"value":622},{"type":42,"tag":136,"props":769,"children":770},{},[771,776],{"type":42,"tag":163,"props":772,"children":773},{},[774],{"type":48,"value":775},"Customize claims, custom auth challenge flows, migrate users, validate sign-up",{"type":42,"tag":163,"props":777,"children":778},{},[779],{"type":42,"tag":233,"props":780,"children":781},{"href":485},[782],{"type":48,"value":488},{"type":42,"tag":136,"props":784,"children":785},{},[786,814],{"type":42,"tag":163,"props":787,"children":788},{},[789,791,796,798,804,806,812],{"type":48,"value":790},"Add ",{"type":42,"tag":60,"props":792,"children":793},{},[794],{"type":48,"value":795},"passkey \u002F WebAuthn",{"type":48,"value":797}," sign-in (",{"type":42,"tag":78,"props":799,"children":801},{"className":800},[],[802],{"type":48,"value":803},"USER_AUTH",{"type":48,"value":805}," flow, ",{"type":42,"tag":78,"props":807,"children":809},{"className":808},[],[810],{"type":48,"value":811},"AllowedFirstAuthFactors",{"type":48,"value":813},", WebAuthn enrollment)",{"type":42,"tag":163,"props":815,"children":816},{},[817],{"type":42,"tag":233,"props":818,"children":820},{"href":819},"references\u002Fpasskeys.md",[821],{"type":48,"value":822},"passkeys.md",{"type":42,"tag":136,"props":824,"children":825},{},[826,838],{"type":42,"tag":163,"props":827,"children":828},{},[829,831,836],{"type":48,"value":830},"Configure ",{"type":42,"tag":60,"props":832,"children":833},{},[834],{"type":48,"value":835},"threat protection",{"type":48,"value":837}," — compromised-credentials block, adaptive auth (risk-based MFA), log delivery to CloudWatch",{"type":42,"tag":163,"props":839,"children":840},{},[841],{"type":42,"tag":233,"props":842,"children":844},{"href":843},"references\u002Fthreat-protection.md",[845],{"type":48,"value":846},"threat-protection.md",{"type":42,"tag":136,"props":848,"children":849},{},[850,855],{"type":42,"tag":163,"props":851,"children":852},{},[853],{"type":48,"value":854},"Something is broken (redirect, token, MFA, CORS, social login)",{"type":42,"tag":163,"props":856,"children":857},{},[858],{"type":42,"tag":233,"props":859,"children":860},{"href":573},[861],{"type":48,"value":576},{"type":42,"tag":102,"props":863,"children":865},{"id":864},"common-workflows",[866],{"type":48,"value":867},"Common Workflows",{"type":42,"tag":51,"props":869,"children":870},{},[871,876,878,882,883,887],{"type":42,"tag":60,"props":872,"children":873},{},[874],{"type":48,"value":875},"\"Add sign-up and login to my React app\"",{"type":48,"value":877}," → Create a user pool + a public app client (no secret), enable the hosted UI \u002F managed login with the authorization code grant with PKCE, wire the Amplify client library. See ",{"type":42,"tag":233,"props":879,"children":880},{"href":619},[881],{"type":48,"value":622},{"type":48,"value":260},{"type":42,"tag":233,"props":884,"children":885},{"href":334},[886],{"type":48,"value":337},{"type":48,"value":240},{"type":42,"tag":51,"props":889,"children":890},{},[891,896,898,902],{"type":42,"tag":60,"props":892,"children":893},{},[894],{"type":48,"value":895},"\"Add Google \u002F social login\"",{"type":48,"value":897}," → Register the social IdP on the user pool, map attributes, add the provider to the app client and hosted UI. See ",{"type":42,"tag":233,"props":899,"children":900},{"href":334},[901],{"type":48,"value":337},{"type":48,"value":240},{"type":42,"tag":51,"props":904,"children":905},{},[906,911,913,917],{"type":42,"tag":60,"props":907,"children":908},{},[909],{"type":48,"value":910},"\"Only authenticated users should call my API\"",{"type":48,"value":912}," → HTTP API → JWT authorizer; REST API → Cognito user pools authorizer. See ",{"type":42,"tag":233,"props":914,"children":915},{"href":698},[916],{"type":48,"value":701},{"type":48,"value":240},{"type":42,"tag":51,"props":919,"children":920},{},[921,926,928,932],{"type":42,"tag":60,"props":922,"children":923},{},[924],{"type":48,"value":925},"\"Let the browser upload to S3 after login\"",{"type":48,"value":927}," → User pool for sign-in, then an identity pool to vend scoped temporary credentials. See ",{"type":42,"tag":233,"props":929,"children":930},{"href":235},[931],{"type":48,"value":238},{"type":48,"value":240},{"type":42,"tag":102,"props":934,"children":936},{"id":935},"troubleshooting",[937],{"type":48,"value":938},"Troubleshooting",{"type":42,"tag":128,"props":940,"children":941},{},[942,963],{"type":42,"tag":132,"props":943,"children":944},{},[945],{"type":42,"tag":136,"props":946,"children":947},{},[948,953,958],{"type":42,"tag":140,"props":949,"children":950},{},[951],{"type":48,"value":952},"Error\u002FSymptom",{"type":42,"tag":140,"props":954,"children":955},{},[956],{"type":48,"value":957},"Likely Cause",{"type":42,"tag":140,"props":959,"children":960},{},[961],{"type":48,"value":962},"Quick Fix",{"type":42,"tag":156,"props":964,"children":965},{},[966,990,1015,1041,1067],{"type":42,"tag":136,"props":967,"children":968},{},[969,980,985],{"type":42,"tag":163,"props":970,"children":971},{},[972,978],{"type":42,"tag":78,"props":973,"children":975},{"className":974},[],[976],{"type":48,"value":977},"redirect_mismatch",{"type":48,"value":979}," \u002F redirect to wrong URL after login",{"type":42,"tag":163,"props":981,"children":982},{},[983],{"type":48,"value":984},"Callback URL not registered, or scheme\u002Ftrailing-slash\u002Fcase differs",{"type":42,"tag":163,"props":986,"children":987},{},[988],{"type":48,"value":989},"Add the exact callback URL (incl. scheme and path) to the app client's Allowed callback URLs",{"type":42,"tag":136,"props":991,"children":992},{},[993,998,1003],{"type":42,"tag":163,"props":994,"children":995},{},[996],{"type":48,"value":997},"Token calls fail with \"unable to verify secret hash\"",{"type":42,"tag":163,"props":999,"children":1000},{},[1001],{"type":48,"value":1002},"Client secret set on a public (SPA\u002Fmobile) client",{"type":42,"tag":163,"props":1004,"children":1005},{},[1006,1008,1013],{"type":48,"value":1007},"Recreate the app client with no secret, or send ",{"type":42,"tag":78,"props":1009,"children":1011},{"className":1010},[],[1012],{"type":48,"value":512},{"type":48,"value":1014}," from a confidential client",{"type":42,"tag":136,"props":1016,"children":1017},{},[1018,1023,1028],{"type":42,"tag":163,"props":1019,"children":1020},{},[1021],{"type":48,"value":1022},"Users get 401 from API Gateway with a valid token",{"type":42,"tag":163,"props":1024,"children":1025},{},[1026],{"type":48,"value":1027},"Wrong token type or audience\u002Fissuer mismatch",{"type":42,"tag":163,"props":1029,"children":1030},{},[1031,1033,1039],{"type":48,"value":1032},"HTTP JWT authorizer: issuer ",{"type":42,"tag":78,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":48,"value":1038},"https:\u002F\u002Fcognito-idp.{region}.amazonaws.com\u002F{userPoolId}",{"type":48,"value":1040},", audience = app client id; send the token the authorizer expects",{"type":42,"tag":136,"props":1042,"children":1043},{},[1044,1049,1062],{"type":42,"tag":163,"props":1045,"children":1046},{},[1047],{"type":48,"value":1048},"CORS errors calling the hosted UI \u002F token endpoint",{"type":42,"tag":163,"props":1050,"children":1051},{},[1052,1054,1060],{"type":48,"value":1053},"Browser calling ",{"type":42,"tag":78,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":48,"value":1059},"\u002Foauth2\u002Ftoken",{"type":48,"value":1061}," cross-origin, or missing CORS on your API",{"type":42,"tag":163,"props":1063,"children":1064},{},[1065],{"type":48,"value":1066},"Do the code exchange with PKCE; don't proxy the token endpoint from the browser",{"type":42,"tag":136,"props":1068,"children":1069},{},[1070,1075,1080],{"type":42,"tag":163,"props":1071,"children":1072},{},[1073],{"type":48,"value":1074},"Social login user \"already exists\" \u002F attribute conflict",{"type":42,"tag":163,"props":1076,"children":1077},{},[1078],{"type":48,"value":1079},"Same email across providers creates separate users",{"type":42,"tag":163,"props":1081,"children":1082},{},[1083],{"type":48,"value":1084},"Enable attribute mapping + account linking; treat email as non-unique across IdPs",{"type":42,"tag":51,"props":1086,"children":1087},{},[1088,1090,1094],{"type":48,"value":1089},"Full tables in ",{"type":42,"tag":233,"props":1091,"children":1092},{"href":573},[1093],{"type":48,"value":576},{"type":48,"value":240},{"type":42,"tag":102,"props":1096,"children":1098},{"id":1097},"security-considerations",[1099],{"type":48,"value":1100},"Security Considerations",{"type":42,"tag":1102,"props":1103,"children":1104},"ul",{},[1105,1124,1143,1172,1177,1232,1275,1280,1285,1290],{"type":42,"tag":1106,"props":1107,"children":1108},"li",{},[1109,1111,1115,1117,1122],{"type":48,"value":1110},"Public clients (SPA\u002Fmobile): ",{"type":42,"tag":60,"props":1112,"children":1113},{},[1114],{"type":48,"value":504},{"type":48,"value":1116},", authorization code grant ",{"type":42,"tag":60,"props":1118,"children":1119},{},[1120],{"type":48,"value":1121},"with PKCE",{"type":48,"value":1123},", request least-privilege scopes.",{"type":42,"tag":1106,"props":1125,"children":1126},{},[1127,1129,1134,1136,1141],{"type":48,"value":1128},"Enable ",{"type":42,"tag":60,"props":1130,"children":1131},{},[1132],{"type":48,"value":1133},"MFA",{"type":48,"value":1135}," (TOTP or SMS), a strong password policy, and ",{"type":42,"tag":60,"props":1137,"children":1138},{},[1139],{"type":48,"value":1140},"advanced security \u002F threat protection",{"type":48,"value":1142}," where available.",{"type":42,"tag":1106,"props":1144,"children":1145},{},[1146,1148,1152,1153,1157,1159,1164,1166,1171],{"type":48,"value":1147},"Short access-token lifetime; enable ",{"type":42,"tag":60,"props":1149,"children":1150},{},[1151],{"type":48,"value":426},{"type":48,"value":260},{"type":42,"tag":60,"props":1154,"children":1155},{},[1156],{"type":48,"value":432},{"type":48,"value":1158},"; prefer ",{"type":42,"tag":78,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":48,"value":419},{"type":48,"value":1165}," over ",{"type":42,"tag":78,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":48,"value":404},{"type":48,"value":240},{"type":42,"tag":1106,"props":1173,"children":1174},{},[1175],{"type":48,"value":1176},"Identity pools: scope the authenticated IAM role tightly; disable unauthenticated (guest) access unless required.",{"type":42,"tag":1106,"props":1178,"children":1179},{},[1180,1182,1188,1189,1195,1197,1203,1204,1210,1211,1217,1219,1230],{"type":48,"value":1181},"Validate JWTs against the user pool JWKS (",{"type":42,"tag":78,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":48,"value":1187},"iss",{"type":48,"value":85},{"type":42,"tag":78,"props":1190,"children":1192},{"className":1191},[],[1193],{"type":48,"value":1194},"aud",{"type":48,"value":1196},"\u002F",{"type":42,"tag":78,"props":1198,"children":1200},{"className":1199},[],[1201],{"type":48,"value":1202},"client_id",{"type":48,"value":85},{"type":42,"tag":78,"props":1205,"children":1207},{"className":1206},[],[1208],{"type":48,"value":1209},"token_use",{"type":48,"value":85},{"type":42,"tag":78,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":48,"value":1216},"exp",{"type":48,"value":1218},") on every protected request. Use a maintained library such as ",{"type":42,"tag":233,"props":1220,"children":1223},{"href":1221,"rel":1222},"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-jwt-verify",[477],[1224],{"type":42,"tag":78,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":48,"value":1229},"aws-jwt-verify",{"type":48,"value":1231}," rather than hand-rolling verification.",{"type":42,"tag":1106,"props":1233,"children":1234},{},[1235,1237,1243,1245,1251,1253,1259,1260,1266,1268,1274],{"type":48,"value":1236},"Set security headers on the app's web pages: ",{"type":42,"tag":78,"props":1238,"children":1240},{"className":1239},[],[1241],{"type":48,"value":1242},"Content-Security-Policy",{"type":48,"value":1244}," (restrict script sources to mitigate token-stealing XSS), ",{"type":42,"tag":78,"props":1246,"children":1248},{"className":1247},[],[1249],{"type":48,"value":1250},"Strict-Transport-Security",{"type":48,"value":1252}," (HSTS), ",{"type":42,"tag":78,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":48,"value":1258},"X-Frame-Options",{"type":48,"value":1196},{"type":42,"tag":78,"props":1261,"children":1263},{"className":1262},[],[1264],{"type":48,"value":1265},"frame-ancestors",{"type":48,"value":1267}," (clickjacking on login pages), and ",{"type":42,"tag":78,"props":1269,"children":1271},{"className":1270},[],[1272],{"type":48,"value":1273},"X-Content-Type-Options: nosniff",{"type":48,"value":240},{"type":42,"tag":1106,"props":1276,"children":1277},{},[1278],{"type":48,"value":1279},"Enable logging and monitoring: CloudTrail for Cognito API events (sign-up\u002Fsign-in\u002Fadmin), user pool threat protection (adaptive auth + event logging), CloudWatch alarms on failed\u002Fthrottled auth, and API Gateway access logging for authorizer decisions.",{"type":42,"tag":1106,"props":1281,"children":1282},{},[1283],{"type":48,"value":1284},"All Cognito and API endpoints are HTTPS\u002FTLS only; enable encryption at rest with a customer-managed KMS key (and restricted key access) on CloudWatch Log groups, SNS topics used for MFA\u002Fnotifications, and any identity-pool-fronted upload buckets.",{"type":42,"tag":1106,"props":1286,"children":1287},{},[1288],{"type":48,"value":1289},"If using SNS for MFA\u002Fnotification delivery, enable server-side encryption (KMS) on the topic, and keep SMS\u002Femail message content limited to what the recipient needs — don't include more PII than the message requires.",{"type":42,"tag":1106,"props":1291,"children":1292},{},[1293,1295,1302,1303,1310,1312,1319],{"type":48,"value":1294},"References: ",{"type":42,"tag":233,"props":1296,"children":1299},{"href":1297,"rel":1298},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fmanaging-security.html",[477],[1300],{"type":48,"value":1301},"Amazon Cognito security features (user pools)",{"type":48,"value":85},{"type":42,"tag":233,"props":1304,"children":1307},{"href":1305,"rel":1306},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Fsecurity.html",[477],[1308],{"type":48,"value":1309},"Amazon Cognito security (top-level, incl. identity pools)",{"type":48,"value":1311},", and ",{"type":42,"tag":233,"props":1313,"children":1316},{"href":1314,"rel":1315},"https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html",[477],[1317],{"type":48,"value":1318},"IAM\u002FSTS best practices",{"type":48,"value":240},{"type":42,"tag":102,"props":1321,"children":1323},{"id":1322},"where-to-look-when-this-skill-is-silent",[1324],{"type":48,"value":1325},"Where to Look When This Skill Is Silent",{"type":42,"tag":51,"props":1327,"children":1328},{},[1329],{"type":48,"value":1330},"When you need depth beyond this skill — exact parameter shapes, current limits, edge behaviors — fall back to the authoritative AWS sources rather than guessing. Pointers age much slower than content, so this map stays useful without the skill having to grow.",{"type":42,"tag":1102,"props":1332,"children":1333},{},[1334,1359,1375,1391,1406,1422],{"type":42,"tag":1106,"props":1335,"children":1336},{},[1337,1342,1344,1351,1352],{"type":42,"tag":60,"props":1338,"children":1339},{},[1340],{"type":48,"value":1341},"API reference (exact params, defaults, errors):",{"type":48,"value":1343}," ",{"type":42,"tag":233,"props":1345,"children":1348},{"href":1346,"rel":1347},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito-user-identity-pools\u002Flatest\u002FAPIReference\u002F",[477],[1349],{"type":48,"value":1350},"Cognito User Pools API",{"type":48,"value":260},{"type":42,"tag":233,"props":1353,"children":1356},{"href":1354,"rel":1355},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognitoidentity\u002Flatest\u002FAPIReference\u002F",[477],[1357],{"type":48,"value":1358},"Cognito Identity API",{"type":42,"tag":1106,"props":1360,"children":1361},{},[1362,1367,1368],{"type":42,"tag":60,"props":1363,"children":1364},{},[1365],{"type":48,"value":1366},"Developer Guide (concepts, workflows):",{"type":48,"value":1343},{"type":42,"tag":233,"props":1369,"children":1372},{"href":1370,"rel":1371},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002F",[477],[1373],{"type":48,"value":1374},"Amazon Cognito Developer Guide",{"type":42,"tag":1106,"props":1376,"children":1377},{},[1378,1383,1384],{"type":42,"tag":60,"props":1379,"children":1380},{},[1381],{"type":48,"value":1382},"Quotas, rate limits, session-cookie lifetime:",{"type":48,"value":1343},{"type":42,"tag":233,"props":1385,"children":1388},{"href":1386,"rel":1387},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcognito\u002Flatest\u002Fdeveloperguide\u002Flimits.html",[477],[1389],{"type":48,"value":1390},"Cognito quotas",{"type":42,"tag":1106,"props":1392,"children":1393},{},[1394,1399,1400],{"type":42,"tag":60,"props":1395,"children":1396},{},[1397],{"type":48,"value":1398},"Feature plans \u002F tier gating:",{"type":48,"value":1343},{"type":42,"tag":233,"props":1401,"children":1403},{"href":475,"rel":1402},[477],[1404],{"type":48,"value":1405},"Cognito feature plans",{"type":42,"tag":1106,"props":1407,"children":1408},{},[1409,1414,1415],{"type":42,"tag":60,"props":1410,"children":1411},{},[1412],{"type":48,"value":1413},"Pricing:",{"type":48,"value":1343},{"type":42,"tag":233,"props":1416,"children":1419},{"href":1417,"rel":1418},"https:\u002F\u002Faws.amazon.com\u002Fcognito\u002Fpricing\u002F",[477],[1420],{"type":48,"value":1421},"Amazon Cognito pricing",{"type":42,"tag":1106,"props":1423,"children":1424},{},[1425,1430,1431,1438,1439],{"type":42,"tag":60,"props":1426,"children":1427},{},[1428],{"type":48,"value":1429},"CLI reference:",{"type":48,"value":1343},{"type":42,"tag":233,"props":1432,"children":1435},{"href":1433,"rel":1434},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcognito-idp\u002F",[477],[1436],{"type":48,"value":1437},"aws cognito-idp",{"type":48,"value":260},{"type":42,"tag":233,"props":1440,"children":1443},{"href":1441,"rel":1442},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fcognito-identity\u002F",[477],[1444],{"type":48,"value":1445},"aws cognito-identity",{"type":42,"tag":102,"props":1447,"children":1449},{"id":1448},"not-covered-by-this-skill",[1450],{"type":48,"value":1451},"Not Covered By This Skill",{"type":42,"tag":1102,"props":1453,"children":1454},{},[1455,1484,1492],{"type":42,"tag":1106,"props":1456,"children":1457},{},[1458,1463,1464,1469,1470,1475,1476,1482],{"type":42,"tag":60,"props":1459,"children":1460},{},[1461],{"type":48,"value":1462},"Amplify Gen2 backend",{"type":48,"value":368},{"type":42,"tag":78,"props":1465,"children":1467},{"className":1466},[],[1468],{"type":48,"value":83},{"type":48,"value":85},{"type":42,"tag":78,"props":1471,"children":1473},{"className":1472},[],[1474],{"type":48,"value":91},{"type":48,"value":85},{"type":42,"tag":78,"props":1477,"children":1479},{"className":1478},[],[1480],{"type":48,"value":1481},"npx ampx sandbox",{"type":48,"value":1483},").",{"type":42,"tag":1106,"props":1485,"children":1486},{},[1487],{"type":42,"tag":60,"props":1488,"children":1489},{},[1490],{"type":48,"value":1491},"IAM policy\u002Frole\u002Ftrust-policy authoring, STS, IAM Identity Center console SSO.",{"type":42,"tag":1106,"props":1493,"children":1494},{},[1495,1500],{"type":42,"tag":60,"props":1496,"children":1497},{},[1498],{"type":48,"value":1499},"API Gateway route\u002Fintegration setup and Lambda function implementation",{"type":48,"value":1501}," (this skill covers only the Cognito\u002FJWT authorizer configuration and the purpose of Cognito Lambda triggers).",{"items":1503,"total":1607},[1504,1521,1536,1551,1566,1576,1591],{"slug":1505,"name":1505,"fn":1506,"description":1507,"org":1508,"tags":1509,"stars":24,"repoUrl":25,"updatedAt":1520},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1510,1513,1516,1517],{"name":1511,"slug":1512,"type":15},"Agents","agents",{"name":1514,"slug":1515,"type":15},"Automation","automation",{"name":23,"slug":8,"type":15},{"name":1518,"slug":1519,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":1522,"name":1522,"fn":1523,"description":1524,"org":1525,"tags":1526,"stars":24,"repoUrl":25,"updatedAt":1535},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1527,1528,1531,1534],{"name":1511,"slug":1512,"type":15},{"name":1529,"slug":1530,"type":15},"API Development","api-development",{"name":1532,"slug":1533,"type":15},"Authentication","authentication",{"name":23,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":1537,"name":1537,"fn":1538,"description":1539,"org":1540,"tags":1541,"stars":24,"repoUrl":25,"updatedAt":1550},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1542,1543,1544,1547],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1545,"slug":1546,"type":15},"Debugging","debugging",{"name":1548,"slug":1549,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":1552,"name":1552,"fn":1553,"description":1554,"org":1555,"tags":1556,"stars":24,"repoUrl":25,"updatedAt":1565},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1557,1558,1559,1562],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1560,"slug":1561,"type":15},"CI\u002FCD","ci-cd",{"name":1563,"slug":1564,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":1567,"name":1567,"fn":1568,"description":1569,"org":1570,"tags":1571,"stars":24,"repoUrl":25,"updatedAt":1575},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1572,1573,1574],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1563,"slug":1564,"type":15},"2026-07-12T08:42:51.963247",{"slug":1577,"name":1577,"fn":1578,"description":1579,"org":1580,"tags":1581,"stars":24,"repoUrl":25,"updatedAt":1590},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1582,1583,1584,1587],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1585,"slug":1586,"type":15},"Best Practices","best-practices",{"name":1588,"slug":1589,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":1592,"name":1592,"fn":1593,"description":1594,"org":1595,"tags":1596,"stars":24,"repoUrl":25,"updatedAt":1606},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1597,1598,1599,1602,1603],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1600,"slug":1601,"type":15},"Evals","evals",{"name":1548,"slug":1549,"type":15},{"name":1604,"slug":1605,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",114,{"items":1609,"total":1726},[1610,1617,1624,1631,1638,1644,1651,1659,1676,1689,1701,1716],{"slug":1505,"name":1505,"fn":1506,"description":1507,"org":1611,"tags":1612,"stars":24,"repoUrl":25,"updatedAt":1520},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1613,1614,1615,1616],{"name":1511,"slug":1512,"type":15},{"name":1514,"slug":1515,"type":15},{"name":23,"slug":8,"type":15},{"name":1518,"slug":1519,"type":15},{"slug":1522,"name":1522,"fn":1523,"description":1524,"org":1618,"tags":1619,"stars":24,"repoUrl":25,"updatedAt":1535},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1620,1621,1622,1623],{"name":1511,"slug":1512,"type":15},{"name":1529,"slug":1530,"type":15},{"name":1532,"slug":1533,"type":15},{"name":23,"slug":8,"type":15},{"slug":1537,"name":1537,"fn":1538,"description":1539,"org":1625,"tags":1626,"stars":24,"repoUrl":25,"updatedAt":1550},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1627,1628,1629,1630],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1545,"slug":1546,"type":15},{"name":1548,"slug":1549,"type":15},{"slug":1552,"name":1552,"fn":1553,"description":1554,"org":1632,"tags":1633,"stars":24,"repoUrl":25,"updatedAt":1565},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1634,1635,1636,1637],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1560,"slug":1561,"type":15},{"name":1563,"slug":1564,"type":15},{"slug":1567,"name":1567,"fn":1568,"description":1569,"org":1639,"tags":1640,"stars":24,"repoUrl":25,"updatedAt":1575},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1641,1642,1643],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1563,"slug":1564,"type":15},{"slug":1577,"name":1577,"fn":1578,"description":1579,"org":1645,"tags":1646,"stars":24,"repoUrl":25,"updatedAt":1590},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1647,1648,1649,1650],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1585,"slug":1586,"type":15},{"name":1588,"slug":1589,"type":15},{"slug":1592,"name":1592,"fn":1593,"description":1594,"org":1652,"tags":1653,"stars":24,"repoUrl":25,"updatedAt":1606},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1654,1655,1656,1657,1658],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1600,"slug":1601,"type":15},{"name":1548,"slug":1549,"type":15},{"name":1604,"slug":1605,"type":15},{"slug":1660,"name":1660,"fn":1661,"description":1662,"org":1663,"tags":1664,"stars":24,"repoUrl":25,"updatedAt":1675},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1665,1666,1669,1672],{"name":23,"slug":8,"type":15},{"name":1667,"slug":1668,"type":15},"Database","database",{"name":1670,"slug":1671,"type":15},"MySQL","mysql",{"name":1673,"slug":1674,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":1677,"name":1677,"fn":1678,"description":1679,"org":1680,"tags":1681,"stars":24,"repoUrl":25,"updatedAt":1688},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1682,1683,1684,1687],{"name":23,"slug":8,"type":15},{"name":1667,"slug":1668,"type":15},{"name":1685,"slug":1686,"type":15},"PostgreSQL","postgresql",{"name":1673,"slug":1674,"type":15},"2026-07-16T06:00:34.789624",{"slug":1690,"name":1690,"fn":1691,"description":1692,"org":1693,"tags":1694,"stars":24,"repoUrl":25,"updatedAt":1700},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1695,1696,1697],{"name":1511,"slug":1512,"type":15},{"name":23,"slug":8,"type":15},{"name":1698,"slug":1699,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":1702,"name":1702,"fn":1703,"description":1704,"org":1705,"tags":1706,"stars":24,"repoUrl":25,"updatedAt":1715},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1707,1708,1709,1712],{"name":23,"slug":8,"type":15},{"name":1667,"slug":1668,"type":15},{"name":1710,"slug":1711,"type":15},"MongoDB","mongodb",{"name":1713,"slug":1714,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":1717,"name":1717,"fn":1718,"description":1719,"org":1720,"tags":1721,"stars":24,"repoUrl":25,"updatedAt":1725},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1722,1723,1724],{"name":23,"slug":8,"type":15},{"name":1667,"slug":1668,"type":15},{"name":1713,"slug":1714,"type":15},"2026-07-16T06:00:37.690386",115]