[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADB4HCWNYZW59V7MTZFDTM":3,"skill-same:01M7ADB4HCWNYZW59V7MTZFDTM":150},{"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},"01M7ADB4HCWNYZW59V7MTZFDTM","timestream-database-deployer",null,"Provisions Amazon Timestream databases and tables with production defaults: database creation (create-database), table creation (create-table) with retention properties (memory store TTL vs magnetic store TTL), magnetic store write properties (enable writes with S3 destination), partition key enforcement, scheduled query creation (notification config, target SNS\u002FSQS, error reporting), CloudWatch metrics (CUMULATIVE metering vs interval), query API (raw vs scheduled), magnetic store S3 bucket integration, tagging, IAM policies for Timestream (database\u002Ftable\u002Fscheduled query resource types), and batch load task. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Timestream database or table, configuring retention TTLs. Triggers: create timestream database, create timestream table, timestream retention properties, timestream memory store TTL, timestream magnetic store TTL, timestream scheduled query, timestream magnetic store write, timestream partition key, timestream batch load.","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\u002Ftimestream-database-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: timestream-database-deployer\ndescription: 'Provisions Amazon Timestream databases and tables with production defaults: database creation (create-database), table creation (create-table) with retention properties (memory store TTL vs magnetic store TTL), magnetic store write properties (enable writes with S3 destination), partition key enforcement, scheduled query creation (notification config, target SNS\u002FSQS, error reporting), CloudWatch metrics (CUMULATIVE metering vs interval), query API (raw vs scheduled), magnetic store S3 bucket integration, tagging, IAM policies for Timestream (database\u002Ftable\u002Fscheduled query resource types), and batch load task. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Timestream database or table, configuring retention TTLs. Triggers: create timestream database, create timestream table, timestream retention properties, timestream memory store TTL, timestream magnetic store TTL, timestream scheduled query, timestream magnetic store write, timestream partition key, timestream batch load.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with timestream-write and timestream-query access. Works with Terraform aws_timestreamwrite_database \u002F aws_timestreamwrite_table \u002F aws_timestreamquery_scheduled_query resources and CloudFormation AWS::Timestream::Database \u002F AWS::Timestream::Table \u002F AWS::Timestream::ScheduledQuery 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: Databases\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, timestream, time-series, cloudops, deploy, databases, provisioning, retention, scheduled-query, magnetic-store, memory-store, partition-key\n  dependencies: aws-orchestrator\n  keywords: aws, timestream, time series, database, table, cloudops, deploy, provisioning, memory store, magnetic store, retention, scheduled query, partition key, batch load\n  when_to_use: Invoke when the user wants to create an Amazon Timestream database or table, configure memory store and magnetic store retention TTLs, set up scheduled queries for materialized views, enable magnetic store write properties with S3 object store integration, configure partition key enforcement for query performance, create a batch load task for bulk ingestion, or deploy IAM policies for Timestream resource types. Do NOT invoke for DynamoDB (use DynamoDB skills), for Aurora\u002FRDS (use RDS skills), or for general S3 bucket provisioning (use S3 skills).\n---\n\n# Timestream Database Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Timestream\ndatabases and tables with correct defaults. The skill walks the\noperator through database creation, table creation with retention\nproperties (memory store TTL vs magnetic store TTL), magnetic store\nwrite properties (enable writes with S3 destination), partition key\nenforcement, scheduled query creation (notification config, target\nSNS\u002FSQS, error reporting), CloudWatch metrics (CUMULATIVE metering vs\ninterval), query API (raw vs scheduled), magnetic store S3 bucket\nintegration, tagging, IAM policies for Timestream resource types\n(database, table, scheduled query), and batch load task creation,\ncaptures configuration decisions, explains why each default matters,\nand emits a READY_TO_DEPLOY checklist with copy-pasteable verification\ncommands.\n\n## Activation keywords\n\ncreate Timestream database, create Timestream table, Timestream\nretention properties, Timestream memory store TTL, Timestream magnetic\nstore TTL, Timestream scheduled query, Timestream magnetic store\nwrite, Timestream partition key, Timestream batch load, Timestream\nS3 object store.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Timestream-provisioning request\n(create a database, create a table, configure retention TTLs, set up\nscheduled queries, enable magnetic store writes, configure partition\nkeys, create a batch load task, or a partial configuration), the agent\nMUST respond with the READY_TO_DEPLOY checklist defined in the\n\"Output format\" section using the literal all-caps labels\n`TIMESTREAM:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Database creation | Core database resource |\n| Step 2 — Table creation with retention properties | Memory\u002Fmagnetic TTL |\n| Step 3 — Magnetic store write properties (S3) | Late-arrival writes |\n| Step 4 — Partition key enforcement | Query performance |\n| Step 5 — Scheduled query creation | Materialized views |\n| Step 6 — Query API (raw vs scheduled) | Query patterns |\n| Step 7 — CloudWatch metrics (CUMULATIVE vs interval) | Monitoring & cost |\n| Step 8 — Magnetic store S3 bucket integration | S3 object store |\n| Step 9 — Batch load task | Bulk ingestion |\n| Step 10 — IAM policies for Timestream | Access control |\n| Step 11 — Tagging | Cost allocation |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fretention-and-scheduled-queries.md | TTL + scheduled query detail |\n| references\u002Fiam-and-magnetic-store.md | IAM + magnetic store write detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon Timestream is a purpose-built time-series\ndatabase with a two-tier storage model (memory store for recent data,\nmagnetic store for historical data). The memory store TTL controls how\nlong data stays in fast in-memory queries; the magnetic store TTL\ncontrols how long data is retained in cost-effective magnetic storage.\nScheduled queries pre-compute materialized views for predictable query\npatterns. Magnetic store write properties enable late-arrival data to\nbe written directly to the magnetic store via S3.\n\nThree misconceptions dominate Timestream misdesign at provisioning\ntime:\n\n- **\"Memory store and magnetic store TTLs are interchangeable.\"** They\n  are NOT. Memory store TTL (minutes to hours) determines how long data\n  is queryable from fast in-memory storage at higher cost. Magnetic\n  store TTL (days to years) determines long-term retention in cheaper\n  storage. Data transitions from memory store to magnetic store\n  automatically when the memory store TTL expires. Setting the memory\n  store TTL too high inflates cost; setting it too low may push data to\n  magnetic store before hot queries can access it at speed.\n\n- **\"Scheduled queries are just cached queries.\"** They are more than\n  caches. Scheduled queries continuously pre-compute and materialize\n  results into a target table, with an error reporting configuration\n  (SNS\u002FSQS notification) and a target configuration (destination\n  table). They reduce query latency and cost for predictable, recurring\n  aggregation patterns but require IAM permissions for BOTH the\n  scheduled query resource AND the target table.\n\n- **\"Magnetic store writes are enabled by default.\"** They are NOT.\n  By default, writes to the magnetic store are disabled. You must\n  explicitly enable `MagneticStoreWriteProperties` with an S3 bucket\n  destination to allow late-arrival data (data with timestamps older\n  than the memory store TTL) to be ingested directly into the magnetic\n  store via S3. Without this, late-arrival records are rejected.\n\n## Configuration dependency graph (novel heuristic)\n\nTimestream configurations are NOT independent. The database must exist\nbefore tables can be created. The table must exist before scheduled\nqueries can target it. Magnetic store write properties require an S3\nbucket with correct bucket policy. Scheduled queries require SNS\u002FSQS\nnotification configuration. Use this graph to sequence provisioning.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Database | account has timestream:CreateDatabase permission | database name is immutable after creation; KMS key (if specified) cannot be changed | all tables within the database |\n| Table | database exists; timestream:CreateTable permission | retention properties can be updated; magnetic store write properties require S3 bucket with bucket policy | data ingestion and queries |\n| Retention properties (memory\u002Fmagnetic TTL) | table exists | memory store TTL must be >= 1 minute; magnetic store TTL must be >= 1 day; updates take effect for new writes | data lifecycle and cost |\n| Magnetic store write properties | table exists; S3 bucket exists with bucket policy granting Timestream write access | S3 bucket must have a bucket policy allowing `s3:PutObject` for `timestream-compute` principal; without it, writes silently fail | late-arrival data ingestion via S3 |\n| Partition key enforcement | table exists; schema defined | partition key type is enforced at write time; mismatched records are rejected | query performance optimization |\n| Scheduled query | target table exists; SNS\u002FSQS topic exists for notifications; IAM role with query permissions | scheduled query runs on a schedule; errors reported to notification config; requires timestream:CreateScheduledQuery | pre-computed materialized views |\n| Batch load task | table exists; S3 data source bucket with CSV\u002FParquet data; IAM role for batch load | batch load is asynchronous; task progresses through stages (PENDING, LOADING, SUCCEEDED, FAILED) | bulk historical data ingestion |\n| IAM policy | resource ARNs for database, table, scheduled query | resource types: database, table, scheduled-query, batch-load-task | access control for all operations |\n| Tagging | database or table exists | tags can be added\u002Fremoved at any time; tag keys are case-sensitive | cost allocation and governance |\n\n**The magnetic-store-write-properties row is the one a baseline model\nmisses.** Enabling magnetic store writes is a deliberate configuration\nthat requires an S3 bucket with a specific bucket policy. A baseline\nmodel creates the table without magnetic store write properties and\ndoes not flag that late-arrival data is silently rejected. The\nprocedure below forces an explicit decision on this configuration.\n\n**Cross-dependency gotchas:**\n- Database name is immutable. Choose carefully at creation time. The\n  database ARN follows the pattern\n  `arn:aws:timestream:\u003Cregion>:\u003Caccount>:database\u002F\u003Cdb-name>`.\n- Table retention properties can be updated, but the memory store TTL\n  must always be >= 1 minute and the magnetic store TTL must be >= 1\n  day. Reducing TTLs does not delete data already in the magnetic\n  store.\n- Scheduled queries require a target table that already exists. The\n  target table receives the materialized query results. The scheduled\n  query itself is a separate resource with its own ARN.\n- Magnetic store write properties S3 bucket must have a bucket policy\n  granting `s3:PutObject` to the Timestream service principal. The\n  bucket must be in the same region as the Timestream table.\n- Batch load tasks are one-shot operations (not continuous). For\n  ongoing bulk ingestion, use the regular WriteRecords API or\n  magnetic store write properties.\n\n## Expert heuristic: memory store TTL tuning for query performance vs cost trade-off\n\nA baseline model says \"set retention and move on.\" The correct\nheuristic recognizes that memory store TTL directly impacts both query\nlatency and cost, and the optimal value depends on the workload's\nhot-data window.\n\n```text\nData ingestion timeline:\n  t=0: record written → enters memory store\n  t=memory_store_ttl: record transitions to magnetic store\n  t=memory_store_ttl + magnetic_store_ttl: record is deleted\n\nQuery latency by storage tier:\n  Memory store:     sub-second to low seconds (in-memory scan)\n  Magnetic store:   seconds to tens of seconds (disk-based scan)\n\nCost by storage tier:\n  Memory store:     higher (measured by memory store GB-hours)\n  Magnetic store:   lower (measured by magnetic store GB-hours)\n\nTuning the memory store TTL:\n  ├── Hot queries access data from last 15 min → memory store TTL = 15m\n  │     cost: moderate (only 15 min of data in memory)\n  │     latency: sub-second for recent data\n  ├── Hot queries access data from last 12 hours → memory store TTL = 12h\n  │     cost: higher (12 hours of data in memory)\n  │     latency: sub-second for half-day window\n  ├── Hot queries access data from last 7 days → memory store TTL = 7d?\n  │     NO — use scheduled query instead (pre-aggregate hourly\u002Fdaily)\n  │     memory store TTL = 1h, scheduled query materializes 7-day aggregates\n  │     cost: lower (memory store holds 1h; magnetic store holds aggregates)\n  └── Historical analysis (months\u002Fyears) → memory store TTL = 1h\n        magnetic store TTL = 1y+, scheduled queries for common aggregations\n```\n\n**Key implication:** the memory store TTL is NOT just a retention\nsetting — it is a performance and cost lever. For workloads with a\npredictable hot-data window, set the TTL to match that window. For\nworkloads needing long-range aggregations, use scheduled queries to\npre-compute materialized views rather than extending the memory store\nTTL.\n\n\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS region supports Timestream | Timestream is not available in all regions | `aws timestream-write list-databases --region \u003Cregion>` |\n| Database name chosen (if creating database) | Database name is immutable after creation | Confirm unique name; 3-256 chars, alphanumeric and underscore |\n| Table name chosen (if creating table) | Table belongs to a database | Confirm database exists |\n| Retention TTLs decided | Memory store TTL (min-hours) and magnetic store TTL (days-years) | Assess hot-data window and retention requirements |\n| S3 bucket for magnetic store writes (if enabling) | Late-arrival data ingestion requires S3 destination with bucket policy | `aws s3api get-bucket-policy --bucket \u003Cbucket>` |\n| SNS\u002FSQS topic ARN for scheduled query notifications (if creating scheduled query) | Error reporting requires notification target | `aws sns list-topics` or `aws sqs list-queues` |\n| IAM permissions for timestream-write and timestream-query | CreateDatabase, CreateTable, UpdateTable, CreateScheduledQuery | Verify IAM policy attached to caller |\n| KMS key ARN (if using customer-managed encryption) | Timestream supports customer-managed KMS encryption at database level | `aws kms describe-key --key-id \u003Ckey-id>` |\n| Partition key schema decided (if enforcing) | Partition keys improve query performance for specific access patterns | Analyze query patterns for enforcement benefit |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Database creation\n\nA Timestream database is the container for one or more tables. The\ndatabase name is immutable after creation.\n\ncreate-database (+KMS, +tags), describe-database verify, naming rules, ARN pattern — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n## Step 2 — Table creation with retention properties\n\nA Timestream table belongs to a database and stores time-series\nrecords. Each table has its own retention properties: memory store\nTTL and magnetic store TTL.\n\ncreate-table with retention, retention min\u002Fmax rules, update-table TTL change — moved verbatim.\nFull detail: [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md).\n\n**Common mistake:** setting memory store TTL too high for a high-volume\ningestion table. Memory store charges are per GB-hour. A table\ningesting 100 GB\u002Fday with a 30-day memory store TTL retains 3000 GB\nin memory store — extremely expensive. Use scheduled queries instead.\n\n## Step 3 — Magnetic store write properties (S3)\n\nBy default, magnetic store writes are disabled. Late-arrival data\n(records with timestamps older than the memory store TTL) is rejected.\nEnabling magnetic store write properties routes late-arrival data to\nan S3 bucket, which Timestream then ingests into the magnetic store.\n\nbucket creation, bucket-policy JSON, update-table MagneticStoreWriteProperties — moved verbatim.\nFull detail: [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md).\n\n## Step 4 — Partition key enforcement\n\nPartition keys optimize query performance by restricting the data\nscanned for specific access patterns. When a schema includes partition\nkey enforcement, records with mismatched partition key types are\nrejected at write time.\n\ncreate-table with CompositePartitionKey schema — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n**Partition key configuration options:**\n\n| Option | Values | Effect |\n|---|---|---|\n| EnforcementInRecord | REQUIRED, OPTIONAL | REQUIRED rejects records without the partition key dimension; OPTIONAL allows records without it |\n| DimInsightsOptimization | ENABLED, DISABLED | ENABLED optimizes partition key access for common dimension patterns |\n\n\n**When to use partition key enforcement:**\n- Queries frequently filter by specific dimensions (e.g., device_id,\n  region, customer_id).\n- The table has high cardinality across a few dimensions.\n- You want to reject malformed records at write time.\n\n## Step 5 — Scheduled query creation\n\nScheduled queries continuously pre-compute materialized results into a\ntarget table. They reduce latency and cost for predictable, recurring\nquery patterns.\n\ntarget table, SNS topic, create-scheduled-query, component table — moved verbatim.\nFull detail: [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md).\n\n## Step 6 — Query API (raw vs scheduled)\n\nTimestream supports two query patterns: raw queries (direct SQL\nagainst source tables) and scheduled query results (queries against\nmaterialized views in target tables).\n\nraw SQL query, materialized-view query — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n**When to use each:**\n\n| Pattern | Latency | Cost | Use case |\n|---|---|---|---|\n| Raw query | Higher (full scan) | Higher (scans more data) | Ad-hoc analysis, debugging |\n| Scheduled query result | Lower (pre-computed) | Lower (scans less data) | Dashboards, recurring reports |\n\n## Step 7 — CloudWatch metrics (CUMULATIVE vs interval)\n\nTimestream publishes CloudWatch metrics in two metering modes:\nCUMULATIVE (total since table creation) and interval (per-period\ndelta). Understanding the difference is critical for cost monitoring.\n\n**Key Timestream CloudWatch metrics:**\n\n| Metric | Metering | What it measures |\n|---|---|---|\n| MemoryStoreMeteredBytes | CUMULATIVE | Total bytes billed in memory store |\n| MagneticStoreMeteredBytes | CUMULATIVE | Total bytes billed in magnetic store |\n| SuccessRequestCount | Interval | Successful write requests per period |\n| FailedRequestCount | Interval | Failed write requests per period |\n| QueryBytesRead | Interval | Bytes scanned by queries per period |\n| QueryRequestCount | Interval | Number of query requests per period |\n\nMemoryStoreMeteredBytes (CUMULATIVE), QueryBytesRead (interval) — moved verbatim.\nFull detail: [Diagnostic commands](references\u002Fdiagnostic-commands.md).\n\n**Critical:** CUMULATIVE metrics show the running total. To compute\nper-period cost, subtract the previous period's value. Interval\nmetrics show the delta per period directly.\n\n## Step 8 — Magnetic store S3 bucket integration\n\nThe magnetic store write properties S3 bucket serves two purposes:\nlate-arrival data ingestion and rejected data location. The bucket\nmust have a policy granting Timestream write access.\n\nget-bucket-policy, describe-table MagneticStoreWriteProperties — moved verbatim.\nFull detail: [Diagnostic commands](references\u002Fdiagnostic-commands.md).\n\n## Step 9 — Batch load task\n\nBatch load tasks perform bulk ingestion of historical data from S3\n(CSV or Parquet) into a Timestream table. Batch load is asynchronous\nand progresses through stages.\n\ncreate-batch-load-task, stage table, CSV format requirements — moved verbatim.\nFull detail: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Step 10 — IAM policies for Timestream\n\nTimestream uses several resource types for IAM policies: database,\ntable, scheduled query, and batch load task.\n\nWriteRecords\u002FDescribe\u002FSelect policy JSON, ScheduledQueryExecutionRole trust policy JSON — moved verbatim.\nFull detail: [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md).\n\n## Step 11 — Tagging\n\nTags enable cost allocation and governance for Timestream resources.\n\ntag-resource, list-tags-for-resource — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n## Step 12 — Recent features\n\npartition keys, magnetic store writes, batch load, dim insights, Terraform — moved verbatim.\nFull detail: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER set memory store TTL too high for high-volume tables.**\n   Memory store charges are per GB-hour. A high-ingestion table with a\n   long memory store TTL is extremely expensive. Use scheduled queries\n   to pre-compute aggregates and keep the memory store TTL short.\n\n2. **NEVER assume magnetic store writes are enabled by default.** By\n   default, late-arrival data (timestamps older than the memory store\n   TTL) is silently rejected. You MUST explicitly enable\n   MagneticStoreWriteProperties with an S3 destination to accept\n   late-arrival data.\n\n3. **NEVER create a scheduled query without creating the target table\n   first.** The scheduled query fails at execution time if the target\n   table does not exist. The target table receives the materialized\n   query results.\n\n4. **NEVER forget the S3 bucket policy for magnetic store writes.**\n   The S3 bucket must have a bucket policy granting `s3:PutObject` to\n   the Timestream service principal. Without it, late-arrival writes\n   silently fail even when magnetic store writes are enabled.\n\n5. **NEVER use CUMULATIVE CloudWatch metrics as per-period values.**\n   CUMULATIVE metrics (MemoryStoreMeteredBytes,\n   MagneticStoreMeteredBytes) show the running total since table\n   creation. To compute per-period cost, subtract the previous\n   period's value.\n\n6. **NEVER delete or modify S3 objects created by Timestream magnetic\n   store writes.** These objects are managed by the Timestream service.\n   Configuring S3 lifecycle rules to delete them corrupts the magnetic\n   store ingestion pipeline.\n\n7. **NEVER create a scheduled query without an error notification\n   configuration.** Scheduled queries can fail silently (DDL errors,\n   permission issues, schema mismatches). Configure an SNS topic or\n   SQS queue for error reporting to catch failures early.\n\n8. **NEVER assume the scheduled query execution role only needs query\n   permissions.** The role requires permissions to query the source\n   table, write to the target table, AND publish to the SNS\u002FSQS\n   notification target. Missing any of these causes silent failures.\n\n9. **NEVER ignore partition key enforcement for high-cardinality\n   tables.** If queries frequently filter by specific dimensions,\n   partition key enforcement dramatically reduces scan volume and\n   cost. Without it, queries scan the full table.\n\n10. **NEVER assume batch load tasks are continuous.** Batch load is a\n    one-shot bulk ingestion operation. For ongoing data ingestion, use\n    the WriteRecords API or magnetic store write properties.\n\n## Output format\n\n```text\nTIMESTREAM: \u003Cdatabase-name> \u002F \u003Ctable-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Database: \u003Cdatabase-name> (region \u003Cregion>)\n  [✓|✗] Table: \u003Ctable-name>\n  [✓|✗] Memory store TTL: \u003Chours>h\n  [✓|✗] Magnetic store TTL: \u003Cdays>d\n  [✓|✗] Magnetic store writes: Enabled (S3: \u003Cbucket>) | Disabled\n  [✓|✗] Partition key enforcement: REQUIRED | OPTIONAL | None\n  [✓|✗] Scheduled query: \u003Cname> (schedule: \u003Cexpression>, target: \u003Ctable>)\n  [✓|✗] Scheduled query notification: SNS \u003Ctopic-arn>\n  [✓|✗] Scheduled query execution role: \u003Crole-arn>\n  [✓|✗] Batch load task: \u003Ctask-id> (status: \u003Cstage>) | None\n  [✓|✗] KMS encryption: customer-managed (\u003Ckey-arn>) | service-managed\n  [✓|✗] IAM policy: database\u002Ftable\u002Fscheduled-query resource ARNs\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws timestream-write describe-database --database-name \u003Cdatabase-name> --region \u003Cregion>\n  aws timestream-write describe-table --database-name \u003Cdatabase-name> --table-name \u003Ctable-name> --region \u003Cregion>\n  aws timestream-query describe-scheduled-query --scheduled-query-arn \u003Carn> --region \u003Cregion>\n```\n\n### Worked example — database with table, scheduled query, and magnetic store writes\n\n```text\nTIMESTREAM: IoTSensorData \u002F TemperatureReadings\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Database: IoTSensorData (region us-east-1)\n  [✓] Table: TemperatureReadings\n  [✓] Memory store TTL: 12h\n  [✓] Magnetic store TTL: 365d\n  [✓] Magnetic store writes: Enabled (S3: timestream-magnetic-late-arrival-us-east-1)\n  [✓] Partition key enforcement: REQUIRED\n  [✓] Scheduled query: HourlyTemperatureAggregation (schedule: rate(1 hour), target: HourlyTempAggregates)\n  [✓] Scheduled query notification: SNS arn:aws:sns:us-east-1:123456789012:timestream-scheduled-query-errors\n  [✓] Scheduled query execution role: arn:aws:iam::123456789012:role\u002FTimestreamScheduledQueryRole\n  [✓] Batch load task: None\n  [✓] KMS encryption: service-managed\n  [✓] IAM policy: database\u002Ftable\u002Fscheduled-query resource ARNs configured\n  [✓] Tags: Environment=production, Team=iot\nVERIFICATION_COMMANDS:\n  aws timestream-write describe-database --database-name IoTSensorData --region us-east-1\n  aws timestream-write describe-table --database-name IoTSensorData --table-name TemperatureReadings --region us-east-1\n  aws timestream-query describe-scheduled-query --scheduled-query-arn arn:aws:timestream:us-east-1:123456789012:scheduled-query\u002FHourlyTemperatureAggregation --region us-east-1\n```\n\n## Error handling\n\ntable creation, magnetic store update, scheduled query failure, batch load stuck, late-arrival rejection, memory store cost — moved verbatim.\nFull detail: [Error handling](references\u002Ferror-handling.md).\n\n## References (load on demand)\n\n- [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md) — TTL rules and updates, scheduled query creation, materialized-view freshness heuristic\n- [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md) — magnetic store bucket policy + setup, late-arrival heuristic, IAM and execution-role policy JSON\n- [Worked examples](references\u002Fworked-examples.md) — database \u002F table \u002F partition-key \u002F query \u002F tagging CLI walkthroughs\n- [Diagnostic commands](references\u002Fdiagnostic-commands.md) — CloudWatch metering queries, magnetic store integration verification\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — batch load task detail, recent features\n- [Error handling](references\u002Ferror-handling.md) — table creation, magnetic store updates, scheduled query failures, cost spikes\n\n## Domain\n\nAWS CloudOps \u002F Amazon Timestream Time-Series Database Provisioning &\nData Lifecycle Management.\n\n## AWS documentation\n\n- **Timestream Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fwhat-is-timestream.html\n- **Create database** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002FAPI_CreateDatabase.html\n- **Create table** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002FAPI_CreateTable.html\n- **Retention properties** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fdata-lifecycle.html\n- **Magnetic store writes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fmagnetic-store-writes.html\n- **Scheduled queries** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fscheduled-queries.html\n- **Batch load** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fbatch-load.html\n- **Partition keys** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fpartition-keys.html\n- **IAM policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fsecurity-iam.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fmonitoring-cloudwatch.html\n","# Timestream Database Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Timestream\ndatabases and tables with correct defaults. The skill walks the\noperator through database creation, table creation with retention\nproperties (memory store TTL vs magnetic store TTL), magnetic store\nwrite properties (enable writes with S3 destination), partition key\nenforcement, scheduled query creation (notification config, target\nSNS\u002FSQS, error reporting), CloudWatch metrics (CUMULATIVE metering vs\ninterval), query API (raw vs scheduled), magnetic store S3 bucket\nintegration, tagging, IAM policies for Timestream resource types\n(database, table, scheduled query), and batch load task creation,\ncaptures configuration decisions, explains why each default matters,\nand emits a READY_TO_DEPLOY checklist with copy-pasteable verification\ncommands.\n\n## Activation keywords\n\ncreate Timestream database, create Timestream table, Timestream\nretention properties, Timestream memory store TTL, Timestream magnetic\nstore TTL, Timestream scheduled query, Timestream magnetic store\nwrite, Timestream partition key, Timestream batch load, Timestream\nS3 object store.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Timestream-provisioning request\n(create a database, create a table, configure retention TTLs, set up\nscheduled queries, enable magnetic store writes, configure partition\nkeys, create a batch load task, or a partial configuration), the agent\nMUST respond with the READY_TO_DEPLOY checklist defined in the\n\"Output format\" section using the literal all-caps labels\n`TIMESTREAM:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Database creation | Core database resource |\n| Step 2 — Table creation with retention properties | Memory\u002Fmagnetic TTL |\n| Step 3 — Magnetic store write properties (S3) | Late-arrival writes |\n| Step 4 — Partition key enforcement | Query performance |\n| Step 5 — Scheduled query creation | Materialized views |\n| Step 6 — Query API (raw vs scheduled) | Query patterns |\n| Step 7 — CloudWatch metrics (CUMULATIVE vs interval) | Monitoring & cost |\n| Step 8 — Magnetic store S3 bucket integration | S3 object store |\n| Step 9 — Batch load task | Bulk ingestion |\n| Step 10 — IAM policies for Timestream | Access control |\n| Step 11 — Tagging | Cost allocation |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fretention-and-scheduled-queries.md | TTL + scheduled query detail |\n| references\u002Fiam-and-magnetic-store.md | IAM + magnetic store write detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon Timestream is a purpose-built time-series\ndatabase with a two-tier storage model (memory store for recent data,\nmagnetic store for historical data). The memory store TTL controls how\nlong data stays in fast in-memory queries; the magnetic store TTL\ncontrols how long data is retained in cost-effective magnetic storage.\nScheduled queries pre-compute materialized views for predictable query\npatterns. Magnetic store write properties enable late-arrival data to\nbe written directly to the magnetic store via S3.\n\nThree misconceptions dominate Timestream misdesign at provisioning\ntime:\n\n- **\"Memory store and magnetic store TTLs are interchangeable.\"** They\n  are NOT. Memory store TTL (minutes to hours) determines how long data\n  is queryable from fast in-memory storage at higher cost. Magnetic\n  store TTL (days to years) determines long-term retention in cheaper\n  storage. Data transitions from memory store to magnetic store\n  automatically when the memory store TTL expires. Setting the memory\n  store TTL too high inflates cost; setting it too low may push data to\n  magnetic store before hot queries can access it at speed.\n\n- **\"Scheduled queries are just cached queries.\"** They are more than\n  caches. Scheduled queries continuously pre-compute and materialize\n  results into a target table, with an error reporting configuration\n  (SNS\u002FSQS notification) and a target configuration (destination\n  table). They reduce query latency and cost for predictable, recurring\n  aggregation patterns but require IAM permissions for BOTH the\n  scheduled query resource AND the target table.\n\n- **\"Magnetic store writes are enabled by default.\"** They are NOT.\n  By default, writes to the magnetic store are disabled. You must\n  explicitly enable `MagneticStoreWriteProperties` with an S3 bucket\n  destination to allow late-arrival data (data with timestamps older\n  than the memory store TTL) to be ingested directly into the magnetic\n  store via S3. Without this, late-arrival records are rejected.\n\n## Configuration dependency graph (novel heuristic)\n\nTimestream configurations are NOT independent. The database must exist\nbefore tables can be created. The table must exist before scheduled\nqueries can target it. Magnetic store write properties require an S3\nbucket with correct bucket policy. Scheduled queries require SNS\u002FSQS\nnotification configuration. Use this graph to sequence provisioning.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Database | account has timestream:CreateDatabase permission | database name is immutable after creation; KMS key (if specified) cannot be changed | all tables within the database |\n| Table | database exists; timestream:CreateTable permission | retention properties can be updated; magnetic store write properties require S3 bucket with bucket policy | data ingestion and queries |\n| Retention properties (memory\u002Fmagnetic TTL) | table exists | memory store TTL must be >= 1 minute; magnetic store TTL must be >= 1 day; updates take effect for new writes | data lifecycle and cost |\n| Magnetic store write properties | table exists; S3 bucket exists with bucket policy granting Timestream write access | S3 bucket must have a bucket policy allowing `s3:PutObject` for `timestream-compute` principal; without it, writes silently fail | late-arrival data ingestion via S3 |\n| Partition key enforcement | table exists; schema defined | partition key type is enforced at write time; mismatched records are rejected | query performance optimization |\n| Scheduled query | target table exists; SNS\u002FSQS topic exists for notifications; IAM role with query permissions | scheduled query runs on a schedule; errors reported to notification config; requires timestream:CreateScheduledQuery | pre-computed materialized views |\n| Batch load task | table exists; S3 data source bucket with CSV\u002FParquet data; IAM role for batch load | batch load is asynchronous; task progresses through stages (PENDING, LOADING, SUCCEEDED, FAILED) | bulk historical data ingestion |\n| IAM policy | resource ARNs for database, table, scheduled query | resource types: database, table, scheduled-query, batch-load-task | access control for all operations |\n| Tagging | database or table exists | tags can be added\u002Fremoved at any time; tag keys are case-sensitive | cost allocation and governance |\n\n**The magnetic-store-write-properties row is the one a baseline model\nmisses.** Enabling magnetic store writes is a deliberate configuration\nthat requires an S3 bucket with a specific bucket policy. A baseline\nmodel creates the table without magnetic store write properties and\ndoes not flag that late-arrival data is silently rejected. The\nprocedure below forces an explicit decision on this configuration.\n\n**Cross-dependency gotchas:**\n- Database name is immutable. Choose carefully at creation time. The\n  database ARN follows the pattern\n  `arn:aws:timestream:\u003Cregion>:\u003Caccount>:database\u002F\u003Cdb-name>`.\n- Table retention properties can be updated, but the memory store TTL\n  must always be >= 1 minute and the magnetic store TTL must be >= 1\n  day. Reducing TTLs does not delete data already in the magnetic\n  store.\n- Scheduled queries require a target table that already exists. The\n  target table receives the materialized query results. The scheduled\n  query itself is a separate resource with its own ARN.\n- Magnetic store write properties S3 bucket must have a bucket policy\n  granting `s3:PutObject` to the Timestream service principal. The\n  bucket must be in the same region as the Timestream table.\n- Batch load tasks are one-shot operations (not continuous). For\n  ongoing bulk ingestion, use the regular WriteRecords API or\n  magnetic store write properties.\n\n## Expert heuristic: memory store TTL tuning for query performance vs cost trade-off\n\nA baseline model says \"set retention and move on.\" The correct\nheuristic recognizes that memory store TTL directly impacts both query\nlatency and cost, and the optimal value depends on the workload's\nhot-data window.\n\n```text\nData ingestion timeline:\n  t=0: record written → enters memory store\n  t=memory_store_ttl: record transitions to magnetic store\n  t=memory_store_ttl + magnetic_store_ttl: record is deleted\n\nQuery latency by storage tier:\n  Memory store:     sub-second to low seconds (in-memory scan)\n  Magnetic store:   seconds to tens of seconds (disk-based scan)\n\nCost by storage tier:\n  Memory store:     higher (measured by memory store GB-hours)\n  Magnetic store:   lower (measured by magnetic store GB-hours)\n\nTuning the memory store TTL:\n  ├── Hot queries access data from last 15 min → memory store TTL = 15m\n  │     cost: moderate (only 15 min of data in memory)\n  │     latency: sub-second for recent data\n  ├── Hot queries access data from last 12 hours → memory store TTL = 12h\n  │     cost: higher (12 hours of data in memory)\n  │     latency: sub-second for half-day window\n  ├── Hot queries access data from last 7 days → memory store TTL = 7d?\n  │     NO — use scheduled query instead (pre-aggregate hourly\u002Fdaily)\n  │     memory store TTL = 1h, scheduled query materializes 7-day aggregates\n  │     cost: lower (memory store holds 1h; magnetic store holds aggregates)\n  └── Historical analysis (months\u002Fyears) → memory store TTL = 1h\n        magnetic store TTL = 1y+, scheduled queries for common aggregations\n```\n\n**Key implication:** the memory store TTL is NOT just a retention\nsetting — it is a performance and cost lever. For workloads with a\npredictable hot-data window, set the TTL to match that window. For\nworkloads needing long-range aggregations, use scheduled queries to\npre-compute materialized views rather than extending the memory store\nTTL.\n\n\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS region supports Timestream | Timestream is not available in all regions | `aws timestream-write list-databases --region \u003Cregion>` |\n| Database name chosen (if creating database) | Database name is immutable after creation | Confirm unique name; 3-256 chars, alphanumeric and underscore |\n| Table name chosen (if creating table) | Table belongs to a database | Confirm database exists |\n| Retention TTLs decided | Memory store TTL (min-hours) and magnetic store TTL (days-years) | Assess hot-data window and retention requirements |\n| S3 bucket for magnetic store writes (if enabling) | Late-arrival data ingestion requires S3 destination with bucket policy | `aws s3api get-bucket-policy --bucket \u003Cbucket>` |\n| SNS\u002FSQS topic ARN for scheduled query notifications (if creating scheduled query) | Error reporting requires notification target | `aws sns list-topics` or `aws sqs list-queues` |\n| IAM permissions for timestream-write and timestream-query | CreateDatabase, CreateTable, UpdateTable, CreateScheduledQuery | Verify IAM policy attached to caller |\n| KMS key ARN (if using customer-managed encryption) | Timestream supports customer-managed KMS encryption at database level | `aws kms describe-key --key-id \u003Ckey-id>` |\n| Partition key schema decided (if enforcing) | Partition keys improve query performance for specific access patterns | Analyze query patterns for enforcement benefit |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Database creation\n\nA Timestream database is the container for one or more tables. The\ndatabase name is immutable after creation.\n\ncreate-database (+KMS, +tags), describe-database verify, naming rules, ARN pattern — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n## Step 2 — Table creation with retention properties\n\nA Timestream table belongs to a database and stores time-series\nrecords. Each table has its own retention properties: memory store\nTTL and magnetic store TTL.\n\ncreate-table with retention, retention min\u002Fmax rules, update-table TTL change — moved verbatim.\nFull detail: [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md).\n\n**Common mistake:** setting memory store TTL too high for a high-volume\ningestion table. Memory store charges are per GB-hour. A table\ningesting 100 GB\u002Fday with a 30-day memory store TTL retains 3000 GB\nin memory store — extremely expensive. Use scheduled queries instead.\n\n## Step 3 — Magnetic store write properties (S3)\n\nBy default, magnetic store writes are disabled. Late-arrival data\n(records with timestamps older than the memory store TTL) is rejected.\nEnabling magnetic store write properties routes late-arrival data to\nan S3 bucket, which Timestream then ingests into the magnetic store.\n\nbucket creation, bucket-policy JSON, update-table MagneticStoreWriteProperties — moved verbatim.\nFull detail: [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md).\n\n## Step 4 — Partition key enforcement\n\nPartition keys optimize query performance by restricting the data\nscanned for specific access patterns. When a schema includes partition\nkey enforcement, records with mismatched partition key types are\nrejected at write time.\n\ncreate-table with CompositePartitionKey schema — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n**Partition key configuration options:**\n\n| Option | Values | Effect |\n|---|---|---|\n| EnforcementInRecord | REQUIRED, OPTIONAL | REQUIRED rejects records without the partition key dimension; OPTIONAL allows records without it |\n| DimInsightsOptimization | ENABLED, DISABLED | ENABLED optimizes partition key access for common dimension patterns |\n\n\n**When to use partition key enforcement:**\n- Queries frequently filter by specific dimensions (e.g., device_id,\n  region, customer_id).\n- The table has high cardinality across a few dimensions.\n- You want to reject malformed records at write time.\n\n## Step 5 — Scheduled query creation\n\nScheduled queries continuously pre-compute materialized results into a\ntarget table. They reduce latency and cost for predictable, recurring\nquery patterns.\n\ntarget table, SNS topic, create-scheduled-query, component table — moved verbatim.\nFull detail: [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md).\n\n## Step 6 — Query API (raw vs scheduled)\n\nTimestream supports two query patterns: raw queries (direct SQL\nagainst source tables) and scheduled query results (queries against\nmaterialized views in target tables).\n\nraw SQL query, materialized-view query — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n**When to use each:**\n\n| Pattern | Latency | Cost | Use case |\n|---|---|---|---|\n| Raw query | Higher (full scan) | Higher (scans more data) | Ad-hoc analysis, debugging |\n| Scheduled query result | Lower (pre-computed) | Lower (scans less data) | Dashboards, recurring reports |\n\n## Step 7 — CloudWatch metrics (CUMULATIVE vs interval)\n\nTimestream publishes CloudWatch metrics in two metering modes:\nCUMULATIVE (total since table creation) and interval (per-period\ndelta). Understanding the difference is critical for cost monitoring.\n\n**Key Timestream CloudWatch metrics:**\n\n| Metric | Metering | What it measures |\n|---|---|---|\n| MemoryStoreMeteredBytes | CUMULATIVE | Total bytes billed in memory store |\n| MagneticStoreMeteredBytes | CUMULATIVE | Total bytes billed in magnetic store |\n| SuccessRequestCount | Interval | Successful write requests per period |\n| FailedRequestCount | Interval | Failed write requests per period |\n| QueryBytesRead | Interval | Bytes scanned by queries per period |\n| QueryRequestCount | Interval | Number of query requests per period |\n\nMemoryStoreMeteredBytes (CUMULATIVE), QueryBytesRead (interval) — moved verbatim.\nFull detail: [Diagnostic commands](references\u002Fdiagnostic-commands.md).\n\n**Critical:** CUMULATIVE metrics show the running total. To compute\nper-period cost, subtract the previous period's value. Interval\nmetrics show the delta per period directly.\n\n## Step 8 — Magnetic store S3 bucket integration\n\nThe magnetic store write properties S3 bucket serves two purposes:\nlate-arrival data ingestion and rejected data location. The bucket\nmust have a policy granting Timestream write access.\n\nget-bucket-policy, describe-table MagneticStoreWriteProperties — moved verbatim.\nFull detail: [Diagnostic commands](references\u002Fdiagnostic-commands.md).\n\n## Step 9 — Batch load task\n\nBatch load tasks perform bulk ingestion of historical data from S3\n(CSV or Parquet) into a Timestream table. Batch load is asynchronous\nand progresses through stages.\n\ncreate-batch-load-task, stage table, CSV format requirements — moved verbatim.\nFull detail: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## Step 10 — IAM policies for Timestream\n\nTimestream uses several resource types for IAM policies: database,\ntable, scheduled query, and batch load task.\n\nWriteRecords\u002FDescribe\u002FSelect policy JSON, ScheduledQueryExecutionRole trust policy JSON — moved verbatim.\nFull detail: [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md).\n\n## Step 11 — Tagging\n\nTags enable cost allocation and governance for Timestream resources.\n\ntag-resource, list-tags-for-resource — moved verbatim.\nFull detail: [Worked examples](references\u002Fworked-examples.md).\n\n## Step 12 — Recent features\n\npartition keys, magnetic store writes, batch load, dim insights, Terraform — moved verbatim.\nFull detail: [Advanced patterns](references\u002Fadvanced-patterns.md).\n\n## NEVER do these things\n\n1. **NEVER set memory store TTL too high for high-volume tables.**\n   Memory store charges are per GB-hour. A high-ingestion table with a\n   long memory store TTL is extremely expensive. Use scheduled queries\n   to pre-compute aggregates and keep the memory store TTL short.\n\n2. **NEVER assume magnetic store writes are enabled by default.** By\n   default, late-arrival data (timestamps older than the memory store\n   TTL) is silently rejected. You MUST explicitly enable\n   MagneticStoreWriteProperties with an S3 destination to accept\n   late-arrival data.\n\n3. **NEVER create a scheduled query without creating the target table\n   first.** The scheduled query fails at execution time if the target\n   table does not exist. The target table receives the materialized\n   query results.\n\n4. **NEVER forget the S3 bucket policy for magnetic store writes.**\n   The S3 bucket must have a bucket policy granting `s3:PutObject` to\n   the Timestream service principal. Without it, late-arrival writes\n   silently fail even when magnetic store writes are enabled.\n\n5. **NEVER use CUMULATIVE CloudWatch metrics as per-period values.**\n   CUMULATIVE metrics (MemoryStoreMeteredBytes,\n   MagneticStoreMeteredBytes) show the running total since table\n   creation. To compute per-period cost, subtract the previous\n   period's value.\n\n6. **NEVER delete or modify S3 objects created by Timestream magnetic\n   store writes.** These objects are managed by the Timestream service.\n   Configuring S3 lifecycle rules to delete them corrupts the magnetic\n   store ingestion pipeline.\n\n7. **NEVER create a scheduled query without an error notification\n   configuration.** Scheduled queries can fail silently (DDL errors,\n   permission issues, schema mismatches). Configure an SNS topic or\n   SQS queue for error reporting to catch failures early.\n\n8. **NEVER assume the scheduled query execution role only needs query\n   permissions.** The role requires permissions to query the source\n   table, write to the target table, AND publish to the SNS\u002FSQS\n   notification target. Missing any of these causes silent failures.\n\n9. **NEVER ignore partition key enforcement for high-cardinality\n   tables.** If queries frequently filter by specific dimensions,\n   partition key enforcement dramatically reduces scan volume and\n   cost. Without it, queries scan the full table.\n\n10. **NEVER assume batch load tasks are continuous.** Batch load is a\n    one-shot bulk ingestion operation. For ongoing data ingestion, use\n    the WriteRecords API or magnetic store write properties.\n\n## Output format\n\n```text\nTIMESTREAM: \u003Cdatabase-name> \u002F \u003Ctable-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Database: \u003Cdatabase-name> (region \u003Cregion>)\n  [✓|✗] Table: \u003Ctable-name>\n  [✓|✗] Memory store TTL: \u003Chours>h\n  [✓|✗] Magnetic store TTL: \u003Cdays>d\n  [✓|✗] Magnetic store writes: Enabled (S3: \u003Cbucket>) | Disabled\n  [✓|✗] Partition key enforcement: REQUIRED | OPTIONAL | None\n  [✓|✗] Scheduled query: \u003Cname> (schedule: \u003Cexpression>, target: \u003Ctable>)\n  [✓|✗] Scheduled query notification: SNS \u003Ctopic-arn>\n  [✓|✗] Scheduled query execution role: \u003Crole-arn>\n  [✓|✗] Batch load task: \u003Ctask-id> (status: \u003Cstage>) | None\n  [✓|✗] KMS encryption: customer-managed (\u003Ckey-arn>) | service-managed\n  [✓|✗] IAM policy: database\u002Ftable\u002Fscheduled-query resource ARNs\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws timestream-write describe-database --database-name \u003Cdatabase-name> --region \u003Cregion>\n  aws timestream-write describe-table --database-name \u003Cdatabase-name> --table-name \u003Ctable-name> --region \u003Cregion>\n  aws timestream-query describe-scheduled-query --scheduled-query-arn \u003Carn> --region \u003Cregion>\n```\n\n### Worked example — database with table, scheduled query, and magnetic store writes\n\n```text\nTIMESTREAM: IoTSensorData \u002F TemperatureReadings\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Database: IoTSensorData (region us-east-1)\n  [✓] Table: TemperatureReadings\n  [✓] Memory store TTL: 12h\n  [✓] Magnetic store TTL: 365d\n  [✓] Magnetic store writes: Enabled (S3: timestream-magnetic-late-arrival-us-east-1)\n  [✓] Partition key enforcement: REQUIRED\n  [✓] Scheduled query: HourlyTemperatureAggregation (schedule: rate(1 hour), target: HourlyTempAggregates)\n  [✓] Scheduled query notification: SNS arn:aws:sns:us-east-1:123456789012:timestream-scheduled-query-errors\n  [✓] Scheduled query execution role: arn:aws:iam::123456789012:role\u002FTimestreamScheduledQueryRole\n  [✓] Batch load task: None\n  [✓] KMS encryption: service-managed\n  [✓] IAM policy: database\u002Ftable\u002Fscheduled-query resource ARNs configured\n  [✓] Tags: Environment=production, Team=iot\nVERIFICATION_COMMANDS:\n  aws timestream-write describe-database --database-name IoTSensorData --region us-east-1\n  aws timestream-write describe-table --database-name IoTSensorData --table-name TemperatureReadings --region us-east-1\n  aws timestream-query describe-scheduled-query --scheduled-query-arn arn:aws:timestream:us-east-1:123456789012:scheduled-query\u002FHourlyTemperatureAggregation --region us-east-1\n```\n\n## Error handling\n\ntable creation, magnetic store update, scheduled query failure, batch load stuck, late-arrival rejection, memory store cost — moved verbatim.\nFull detail: [Error handling](references\u002Ferror-handling.md).\n\n## References (load on demand)\n\n- [Retention and scheduled queries](references\u002Fretention-and-scheduled-queries.md) — TTL rules and updates, scheduled query creation, materialized-view freshness heuristic\n- [IAM and magnetic store](references\u002Fiam-and-magnetic-store.md) — magnetic store bucket policy + setup, late-arrival heuristic, IAM and execution-role policy JSON\n- [Worked examples](references\u002Fworked-examples.md) — database \u002F table \u002F partition-key \u002F query \u002F tagging CLI walkthroughs\n- [Diagnostic commands](references\u002Fdiagnostic-commands.md) — CloudWatch metering queries, magnetic store integration verification\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — batch load task detail, recent features\n- [Error handling](references\u002Ferror-handling.md) — table creation, magnetic store updates, scheduled query failures, cost spikes\n\n## Domain\n\nAWS CloudOps \u002F Amazon Timestream Time-Series Database Provisioning &\nData Lifecycle Management.\n\n## AWS documentation\n\n- **Timestream Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fwhat-is-timestream.html\n- **Create database** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002FAPI_CreateDatabase.html\n- **Create table** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002FAPI_CreateTable.html\n- **Retention properties** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fdata-lifecycle.html\n- **Magnetic store writes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fmagnetic-store-writes.html\n- **Scheduled queries** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fscheduled-queries.html\n- **Batch load** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fbatch-load.html\n- **Partition keys** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fpartition-keys.html\n- **IAM policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fsecurity-iam.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftimestream\u002Flatest\u002Fdeveloperguide\u002Fmonitoring-cloudwatch.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, timestream, time-series, cloudops, deploy, databases, provisioning, retention, scheduled-query, magnetic-store, memory-store, partition-key","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, timestream, time series, database, table, cloudops, deploy, provisioning, memory store, magnetic store, retention, scheduled query, partition key, batch load","deploy","high","false","capability","Invoke when the user wants to create an Amazon Timestream database or table, configure memory store and magnetic store retention TTLs, set up scheduled queries for materialized views, enable magnetic store write properties with S3 object store integration, configure partition key enforcement for query performance, create a batch load task for bulk ingestion, or deploy IAM policies for Timestream resource types. Do NOT invoke for DynamoDB (use DynamoDB skills), for Aurora\u002FRDS (use RDS skills), or for general S3 bucket provisioning (use S3 skills).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with timestream-write and timestream-query access. Works with Terraform aws_timestreamwrite_database \u002F aws_timestreamwrite_table \u002F aws_timestreamquery_scheduled_query resources and CloudFormation AWS::Timestream::Database \u002F AWS::Timestream::Table \u002F AWS::Timestream::ScheduledQuery templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Ftimestream-database-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 timestream-database-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill timestream-database-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill timestream-database-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",5934,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fbatch-load-task.md",615,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fbaselines\u002Fbatch-load-task.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fdatabase-table-scheduled-query.md",708,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fbaselines\u002Fdatabase-table-scheduled-query.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmagnetic-store-write-s3.md",622,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fbaselines\u002Fmagnetic-store-write-s3.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-s3-bucket-policy.md",815,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fbaselines\u002Fmissing-s3-bucket-policy.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fpartition-key-enforcement.md",593,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fbaselines\u002Fpartition-key-enforcement.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1780,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",10194,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fbatch-load-task.md",529,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fprompts\u002Fbatch-load-task.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fdatabase-table-scheduled-query.md",706,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fprompts\u002Fdatabase-table-scheduled-query.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmagnetic-store-write-s3.md",525,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fprompts\u002Fmagnetic-store-write-s3.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fmissing-s3-bucket-policy.md",487,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fprompts\u002Fmissing-s3-bucket-policy.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fpartition-key-enforcement.md",528,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fevals\u002Fprompts\u002Fpartition-key-enforcement.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6917,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",2812,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fdiagnostic-commands.md",1742,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1537,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fiam-and-magnetic-store.md",11556,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Fiam-and-magnetic-store.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fretention-and-scheduled-queries.md",12205,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Fretention-and-scheduled-queries.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fworked-examples.md",3050,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Freferences\u002Fworked-examples.md",{"path":147,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":148,"sourceHtmlUrl":149},"skill.usf.yaml",4593,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftimestream-database-deployer\u002Fskill.usf.yaml",[151,158,165,172,179,186],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"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":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":19},"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":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":19},"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":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":19},"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":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":19},"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":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"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",[],[]]