Guides
-
Run Commands on EC2 With SSM SendCommand and AWS SDK v3
Run shell scripts on one instance or a tagged fleet with SendCommandCommand, wait for results, read the output and keep IAM scoped to the…
-
Run One-Off ECS Tasks With AWS SDK v3 (RunTask)
Start a Fargate task from Node.js with RunTaskCommand, wait for it to stop, read the container’s exit code and logs, and grant only the…
-
Read AppConfig Feature Flags With AWS SDK v3
A typed feature flag client for AWS AppConfig with StartConfigurationSession and GetLatestConfiguration, plus caching, IAM, costs and fixes for common errors.
-

API Gateway WebSocket PostToConnection With AWS SDK v3
Push messages to WebSocket clients from Lambda with PostToConnectionCommand: endpoints, stale connection cleanup, broadcasts, limits and IAM.
-
Extract Text From PDFs and Images With Amazon Textract and SDK v3
Pull text out of images and multi-page PDFs with Textract in TypeScript: sync and async APIs, NextToken paging, PAGE/LINE/WORD blocks, IAM and prices.
-
Query DynamoDB With PartiQL in AWS SDK v3 (ExecuteStatement)
SQL-like reads and writes on DynamoDB with ExecuteStatementCommand: parameters, paging, conditional updates, batches, transactions and IAM.
-
Sign Users In to Cognito With AWS SDK v3 (InitiateAuth)
Sign users in to a Cognito user pool from Node.js: InitiateAuth, SECRET_HASH, challenge responses, refresh tokens and verifying the JWTs you get back.
-
Upload to S3 From the Browser With a Presigned POST (AWS SDK v3)
Let browsers upload straight to S3 with createPresignedPost: enforce file size, type and key in the policy, then post the form with fetch.
-

Tag S3 Objects With AWS SDK v3 (PutObjectTagging)
Tag S3 objects from Node.js: tags on upload, safe merges with PutObjectTagging, version tags, bulk tagging with concurrency, IAM conditions and cost.
-

CloudFront Invalidation With AWS SDK v3 (CreateInvalidation)
Invalidate CloudFront paths from Node.js with CreateInvalidationCommand, wait for completion, retry safely and keep invalidation costs near zero.