[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9D2DFP09GE3V3XK0AYPHZ":3,"skill-same:01M7A9D2DFP09GE3V3XK0AYPHZ":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7A9D2DFP09GE3V3XK0AYPHZ","kinesis-analytics-deployer",null,"Deploys Amazon Kinesis Data Analytics applications (Managed Service for Apache Flink and Studio SQL) with production-grade config: application creation (runtime FLINK-1_19 or SQL-1_0, service execution role), source (Kinesis Data Stream or Firehose with stream ARN, starting position), destination (Kinesis Data Stream, Firehose, S3 with parallelism), SQL vs Flink selection, checkpointing (interval, min pause), parallelism and parallelismPerKPU tuning, CloudWatch logging, application snapshots for stateful recovery, Studio notebooks with Apache Zeppelin, session window SQL patterns, latest features (Studio notebooks, Zeppelin, session windows, snapshots, custom app code via S3). Emits a READY_TO_DEPLOY checklist. Use when creating a KDA application, deploying a Flink or SQL streaming job, validating config, or generating CLI\u002FIaC templates. Triggers: Kinesis Data Analytics, Managed Flink, KDA Studio, Zeppelin, streaming SQL, Flink application, checkpointing, parallelism, session windows.","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\u002Fkinesis-analytics-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: kinesis-analytics-deployer\ndescription: 'Deploys Amazon Kinesis Data Analytics applications (Managed Service for Apache Flink and Studio SQL) with production-grade config: application creation (runtime FLINK-1_19 or SQL-1_0, service execution role), source (Kinesis Data Stream or Firehose with stream ARN, starting position), destination (Kinesis Data Stream, Firehose, S3 with parallelism), SQL vs Flink selection, checkpointing (interval, min pause), parallelism and parallelismPerKPU tuning, CloudWatch logging, application snapshots for stateful recovery, Studio notebooks with Apache Zeppelin, session window SQL patterns, latest features (Studio notebooks, Zeppelin, session windows, snapshots, custom app code via S3). Emits a READY_TO_DEPLOY checklist. Use when creating a KDA application, deploying a Flink or SQL streaming job, validating config, or generating CLI\u002FIaC templates. Triggers: Kinesis Data Analytics, Managed Flink, KDA Studio, Zeppelin, streaming SQL, Flink application, checkpointing, parallelism, session windows.'\nlicense: Apache-2.0\ncompatibility: 'Requires an LLM agent runtime (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with kinesisanalytics, kinesisanalyticsv2, kinesis, firehose, iam, logs, and s3 access. Works with Terraform aws_kinesisanalyticsv2_application \u002F aws_kinesis_analytics_application resources, CloudFormation AWS::KinesisAnalyticsV2::Application resources, and the AWS Console Kinesis Data Analytics wizard.'\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: Analytics\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, kinesis, kinesis-analytics, cloudops, deploy, analytics, streaming, flink\n  dependencies: aws-orchestrator\n  keywords: aws, kinesis, kinesis-analytics, kinesis-data-analytics, managed-flink, apache-flink, cloudops, deploy, analytics, streaming, flink, studio-notebook, zeppelin, checkpointing, parallelism, session-windows\n  when_to_use: Invoke when the user wants to create a new Kinesis Data Analytics application (Managed Service for Apache Flink or Studio SQL), deploy a Flink streaming job, deploy a streaming SQL pipeline with session\u002Fhopping\u002Ftumbling windows, configure an interactive Studio notebook with Zeppelin, validate an existing KDA configuration against best practices, generate deployment CLI commands or IaC templates, or troubleshoot a KDA deployment failure caused by missing prerequisites (execution role, source stream, checkpoint configuration). Do NOT invoke for Kinesis Data Streams provisioning (use kinesis-stream-auditor), Kinesis Firehose delivery (use kinesis-firehose-troubshooter), or MSK (use kafka-msk-troubleshooter).\n---\n\n# Kinesis Data Analytics Deployer\n\nAn AWS CloudOps agent skill that deploys Amazon Kinesis Data Analytics\napplications (Managed Service for Apache Flink and Studio SQL\napplications) with correct production defaults. Emits a\nREADY_TO_DEPLOY checklist verifying every configuration item.\n\n## Quick navigation\n\n| Need | Section |\n|---|---|\n| What MUST be in the response | \"STRICT output contract\" |\n| Why application-before-code order matters | \"Reasoning framework\" |\n| What to verify before deploying | \"Prerequisites\" |\n| The ordered deployment steps | \"Deployment procedure\" |\n| Common silent-failure pitfalls | \"NEVER\" |\n| SQL-vs-Flink decision matrix | \"Workload matrix\" |\n| 2024-2026 feature changes | \"Recent AWS features\" |\n| Deep CLI sequences | `references\u002Fcli-commands-and-iac.md` |\n| Execution roles, parallelism, checkpoints, full NEVER | `references\u002Fexecution-and-capacity-guide.md` |\n\n## STRICT output contract\n\nWhen this skill is invoked with a Kinesis Data Analytics deployment\nrequest, the agent MUST respond with the READY_TO_DEPLOY checklist\ndefined in \"Output format\" using the literal all-caps labels\n`APPLICATION:`, `VERDICT:`, `CHECKLIST:`, and `VERIFICATION_COMMANDS:`.\nDo NOT preface the checklist with prose, headings, or disclaimers —\nemit the block as the first lines.\n\n### Required output structure\n\n1. `APPLICATION: \u003Capplication-name>` — the KDA application being\n   deployed.\n2. `VERDICT: READY_TO_DEPLOY` OR `VERDICT: PREREQUISITES_MISSING`.\n3. `CHECKLIST:` followed by indented lines with status markers\n   (`[✓]`, `[✗]`, `[OPTIONAL]`, `[INPUT NEEDED]`).\n4. `VERIFICATION_COMMANDS:` followed by indented\n   `aws kinesisanalyticsv2 ...` commands.\n\n### FORBIDDEN output patterns\n\n- **No prose preamble before `APPLICATION:`** — first non-empty line\n  MUST be `APPLICATION:`.\n- **No markdown variants of labels** — write `VERDICT:`, not\n  `**VERDICT:**`, `### Verdict`, or `` `VERDICT` ``.\n- **No swapping verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- **No omitting `VERIFICATION_COMMANDS:`** — include even when\n  PREREQUISITES_MISSING.\n- **No extra sections after `VERIFICATION_COMMANDS:`** — the\n  checklist block is the entire response.\n- **No status marker drift** — use only `[✓]`, `[✗]`, `[OPTIONAL]`,\n  `[INPUT NEEDED]`.\n\n### Perfect example (copy the shape exactly)\n\n```text\nAPPLICATION: fraud-detection-flink\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓]      Runtime environment — FLINK-1_19, application mode STREAMING\n  [✓]      Service execution role — arn:aws:iam::123456789012:role\u002FKDAExecutionRole (Kinesis read, Firehose write, CloudWatch Logs, S3 code)\n  [✓]      Source — Kinesis Data Stream arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftransactions, starting position LATEST\n  [✓]      Destination — Kinesis Data Stream arn:aws:aws...:stream\u002Falerts, parallelism 4\n  [✓]      Application code — s3:\u002F\u002Fkda-apps\u002Ffraud-detection-1.0.0.jar (pinned, NOT latest)\n  [✓]      Checkpointing — interval 60000 ms, min pause 5000 ms, configuration UPDATE\n  [✓]      Parallelism — 4 (parallelismPerKPU 1, 4 KPUs total)\n  [✓]      CloudWatch logging — enabled, log group \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n  [✓]      Snapshots — configured for stateful recovery\n  [✓]      Tags — Environment=production, Application=fraud-detection\n  [OPTIONAL] Studio notebook — Apache Zeppelin (not configured for this app)\nVERIFICATION_COMMANDS:\n  aws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink\n  aws iam get-role --role-name KDAExecutionRole\n  aws kinesis describe-stream --stream-name transactions\n  aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n```\n\n## Reasoning framework (why the application-before-code order matters)\n\n1. **Application FIRST** — a KDA application is the container for all\n   Flink\u002FSQL streaming work. It defines the runtime environment\n   (FLINK-1_19 or SQL-1_0), execution role, parallelism, and\n   checkpointing. Without an application you cannot run code.\n2. **Service execution role** — the IAM role the application assumes\n   at runtime for Kinesis reads, Firehose\u002FS3 writes, CloudWatch\n   logging, and S3 code retrieval. Without it, the application fails\n   to start with `AccessDeniedException` on the first source read.\n3. **Source configuration** — Kinesis Data Stream or Firehose as the\n   streaming source. Defines the stream ARN and starting position\n   (LATEST, TRIM_HORIZON, or AT_TIMESTAMP). Without a source, the\n   application starts but processes zero records.\n4. **Destination configuration** — Kinesis Data Stream, Firehose, or\n   S3 as the destination. SQL apps emit INSERT results; Flink apps\n   write via sinks. Without a destination, processed records are\n   dropped.\n5. **Application code** — for Flink, a JAR\u002FPython package in S3; for\n   SQL, an in-line SQL script. Pin to a versioned key — NEVER `latest`\n   or `\u002Fcurrent\u002F` paths.\n6. **Checkpointing and parallelism LAST** — tuning parameters applied\n   AFTER the application is created. Checkpointing enables stateful\n   recovery; parallelism controls throughput. Changing them requires\n   an application update.\n\n## Prerequisites (verify before deployment)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| **IAM service execution role** | Trust `kinesisanalytics.amazonaws.com`. Scope for Kinesis\u002FFirehose\u002FS3\u002FCloudWatch. NEVER `AdministratorAccess`. | `aws iam get-role --role-name \u003Crole>` |\n| **Source Kinesis stream (or Firehose)** | MUST exist and be ACTIVE before the application reads. Without it, the source is empty. | `aws kinesis describe-stream --stream-name \u003Cname>` |\n| **Destination resource** | Kinesis stream, Firehose delivery stream, or S3 bucket. MUST exist before the application writes. | `aws kinesis describe-stream` \u002F `aws firehose describe-delivery-stream` \u002F `aws s3 ls` |\n| **S3 code bucket (Flink apps)** | Stores the application JAR\u002FPython package. MUST exist with the code object. | `aws s3 ls s3:\u002F\u002F\u003Cbucket>\u002F\u003Ckey>` |\n| **CloudWatch log group** | KDA streams application logs and Flink TaskManager logs. Recommended for production. | `aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002F` |\n| **Runtime environment** | `FLINK-1_19` (or SQL-1_0 for legacy SQL). Determines engine version. Use the latest stable Flink runtime. | `aws kinesisanalyticsv2 list-applications` (check similar apps) |\n| **Service quota** | Default KPUs per Region per account. Request increase BEFORE production. | `aws service-quotas get-service-quota --service-code kinesisanalytics --quota-code L-XXXXXXXX` |\n| **VPC configuration (if private sources)** | If the app reads from private MSK or private OpenSearch, VPC subnets and security groups are REQUIRED. | `aws ec2 describe-subnets --subnet-ids \u003Cids>` |\n| **Glue schema registry (if avro\u002Fprotobuf)** | Source records using Avro\u002FProtobuf MUST have a schema in the registry for Flink to deserialize. | `aws glue get-registry --registry-name \u003Cname>` |\n\n## Deployment procedure (apply in order)\n\n### Step 1: IAM service execution role\n\nThe service execution role is assumed by the KDA application for all\nruntime AWS API calls (Kinesis reads, Firehose writes, S3 code\nretrieval, CloudWatch logging). Without it, the application fails on\nthe first source read.\n\n```bash\naws iam create-role \\\n  --role-name KDAExecutionRole \\\n  --assume-role-policy-document '{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [{\n      \"Effect\": \"Allow\",\n      \"Principal\": {\"Service\": \"kinesisanalytics.amazonaws.com\"},\n      \"Action\": \"sts:AssumeRole\"\n    }]\n  }'\n\naws iam put-role-policy \\\n  --role-name KDAExecutionRole \\\n  --policy-name kda-exec \\\n  --policy-document '{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesis:GetRecords\", \"kinesis:GetShardIterator\", \"kinesis:DescribeStream\", \"kinesis:ListShards\"],\n        \"Resource\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftransactions\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesis:PutRecord\", \"kinesis:PutRecords\"],\n        \"Resource\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Falerts\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"s3:GetObject\"],\n        \"Resource\": \"arn:aws:s3:::kda-apps\u002Ffraud-detection-1.0.0.jar\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"logs:CreateLogGroup\", \"logs:CreateLogStream\", \"logs:PutLogEvents\", \"logs:DescribeLogGroups\"],\n        \"Resource\": \"arn:aws:logs:us-east-1:123456789012:log-group:\u002Faws\u002Fkinesis-analytics\u002F*\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesisanalytics:CreateApplicationSnapshot\", \"kinesisanalytics:DeleteApplicationSnapshot\", \"kinesisanalytics:DescribeApplicationSnapshot\"],\n        \"Resource\": \"arn:aws:kinesisanalytics:us-east-1:123456789012:application\u002Ffraud-detection-flink\"\n      }\n    ]\n  }'\n```\n\nRules:\n- **Trust `kinesisanalytics.amazonaws.com`** — NOT\n  `firehose.amazonaws.com` (separate service principal).\n- **NEVER use `AdministratorAccess`** — scope to the specific Kinesis\n  streams, Firehose delivery streams, and S3 code objects the app\n  needs.\n- **CloudWatch Logs permissions** — required for application log\n  delivery and Flink framework errors.\n- **Pass role for KDA-created resources** — if the app creates\n  snapshots, include `kinesisanalytics:*ApplicationSnapshot`.\n\n### Step 2: Confirm source stream exists\n\n```bash\naws kinesis describe-stream --stream-name transactions \\\n  --query 'StreamDescription.{Status:StreamStatus,ARN:StreamARN,Shards:Shards[*].ShardId}'\n# StreamStatus MUST be ACTIVE\n```\n\nFor Firehose source:\n\n```bash\naws firehose describe-delivery-stream --delivery-stream-name ingestion-stream \\\n  --query 'DeliveryStreamDescription.{Status:DeliveryStreamStatus,ARN:DeliveryStreamARN}'\n# DeliveryStreamStatus MUST be ACTIVE\n```\n\n### Step 3: Create the application (Flink)\n\n```bash\naws kinesisanalyticsv2 create-application \\\n  --application-name fraud-detection-flink \\\n  --runtime-environment FLINK-1_19 \\\n  --service-execution-role arn:aws:iam::123456789012:role\u002FKDAExecutionRole \\\n  --application-configuration '{\n    \"ApplicationCodeConfiguration\": {\n      \"CodeContent\": {\n        \"S3ContentLocation\": {\n          \"BucketARN\": \"arn:aws:s3:::kda-apps\",\n          \"FileKey\": \"fraud-detection-1.0.0.jar\"\n        },\n        \"CodeContentType\": \"ZIPFILE\"\n      },\n      \"CodeContentType\": \"ZIPFILE\"\n    },\n    \"FlinkApplicationConfiguration\": {\n      \"CheckpointConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"CheckpointingEnabled\": true,\n        \"CheckpointInterval\": 60000,\n        \"MinPauseBetweenCheckpoints\": 5000\n      },\n      \"ParallelismConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"Parallelism\": 4,\n        \"ParallelismPerKPU\": 1\n      },\n      \"MonitoringConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"MetricsLevel\": \"APPLICATION\",\n        \"LogLevel\": \"INFO\",\n        \"LogStreamARN\": \"arn:aws:logs:us-east-1:123456789012:log-group:\u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\"\n      }\n    },\n    \"EnvironmentProperties\": {\n      \"PropertyGroups\": [\n        {\"PropertyGroupId\": \"ConsumerConfig\", \"PropertyMap\": {\"STREAM_NAME\": \"transactions\", \"AWS_REGION\": \"us-east-1\", \"SCAN_START_POSITION\": \"LATEST\"}}\n      ]\n    },\n    \"ApplicationSnapshotConfiguration\": {\n      \"SnapshotsEnabled\": true\n    }\n  }' \\\n  --tags Environment=production,Application=fraud-detection\n```\n\n### Step 4: Create the application (SQL)\n\n```bash\naws kinesisanalyticsv2 create-application \\\n  --application-name session-windows-sql \\\n  --runtime-environment SQL-1_0 \\\n  --service-execution-role arn:aws:iam::123456789012:role\u002FKDAExecutionRole \\\n  --application-configuration '{\n    \"SqlApplicationConfiguration\": {\n      \"Inputs\": [{\n        \"NamePrefix\": \"SOURCE_SQL_STREAM\",\n        \"KinesisStreamsInput\": {\n          \"ResourceARN\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Fclicks\",\n          \"RoleARN\": \"arn:aws:iam::123456789012:role\u002FKDAExecutionRole\"\n        },\n        \"InputSchema\": {\n          \"RecordFormat\": {\"RecordFormatType\": \"JSON\"},\n          \"RecordColumns\": [\n            {\"Name\": \"event_time\", \"SqlType\": \"TIMESTAMP\", \"Mapping\": \"$.event_time\"},\n            {\"Name\": \"user_id\", \"SqlType\": \"VARCHAR(64)\", \"Mapping\": \"$.user_id\"},\n            {\"Name\": \"event_type\", \"SqlType\": \"VARCHAR(32)\", \"Mapping\": \"$.event_type\"}\n          ]\n        },\n        \"InputParallelism\": {\"Count\": 1},\n        \"InputStartingPositionConfiguration\": {\"InputStartingPosition\": \"NOW\"}\n      }]\n    },\n    \"ApplicationCodeConfiguration\": {\n      \"CodeContent\": {\n        \"TextInput\": \"CREATE OR REPLACE PUMP \\\"SESSION_PUMP\\\" AS INSERT INTO DESTINATION_SQL_STREAM SELECT STREAM user_id, COUNT(*) AS event_count, SESSION_START() AS window_start, SESSION_END() AS window_end FROM SOURCE_SQL_STREAM_001 GROUP BY user_id, SESSION(event_time, INTERVAL '\\''60'\\'' SECONDS);\"\n      },\n      \"CodeContentType\": \"INLINE\"\n    }\n  }' \\\n  --tags Environment=production,Application=session-windows\n```\n\n### Step 5: Configure source via CloudWatch log group\n\n```bash\naws logs create-log-group \\\n  --log-group-name \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n```\n\n### Step 6: Start the application\n\n```bash\naws kinesisanalyticsv2 start-application \\\n  --application-name fraud-detection-flink \\\n  --run-configuration '{\n    \"FlinkRunConfiguration\": {\"AllowNonRestoredState\": false},\n    \"SqlRunConfigurations\": [],\n    \"ApplicationRestoreConfiguration\": {\n      \"RestoreType\": \"RESTORE_FROM_LATEST_SNAPSHOT\"\n    }\n  }'\n```\n\nWait for `RUNNING` state:\n\n```bash\naws kinesisanalyticsv2 describe-application \\\n  --application-name fraud-detection-flink \\\n  --query 'ApplicationDetail.ApplicationStatus'\n# Should return 'RUNNING'\n```\n\n### Step 7: Checkpointing (Flink stateful recovery)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 7: Checkpointing (Flink stateful recovery)\".\n> Load when: configuring Flink checkpointing — interval, min pause, AllowNonRestoredState rules.\n\n### Step 8: Parallelism tuning\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 8: Parallelism tuning\".\n> Load when: sizing parallelism and KPUs — matching parallelism to shard count, ParallelismPerKPU, JobManager overhead.\n\n### Step 9: Studio notebook (Zeppelin, interactive analysis)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 9: Studio notebook (Zeppelin, interactive analysis)\".\n> Load when: creating a Studio notebook — Zeppelin application config, custom artifacts, promotion to a production app.\n\n### Step 10: Application snapshots (stateful recovery)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 10: Application snapshots (stateful recovery)\".\n> Load when: using snapshots for stateful recovery — create\u002Flist snapshots and RESTORE_FROM_CUSTOM_SNAPSHOT starts.\n\n### Step 11: Verification\n\n```bash\naws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink\naws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink --query 'ApplicationDetail.ApplicationStatus'\naws iam get-role --role-name KDAExecutionRole\naws kinesis describe-stream --stream-name transactions\naws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\naws kinesisanalyticsv2 list-application-snapshots --application-name fraud-detection-flink\n```\n\n## Recent AWS features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features (2024-2026)\".\n> Load when: checking 2024-2026 feature availability — session windows, snapshots, Flink 1.19, Glue Catalog, VPC sources.\n\n## Workload matrix\n\n| Workload | Runtime | Source | Destination | Parallelism | Checkpointing | Studio notebook |\n|---|---|---|---|---|---|---|\n| **Fraud detection (Flink)** | FLINK-1_19 | Kinesis Stream | Kinesis Stream | 4-8 | 60s interval | No |\n| **Sessionization (SQL)** | SQL-1_0 | Kinesis Stream | Kinesis Stream | 1-2 | N\u002FA (SQL) | No |\n| **Click analytics (SQL)** | SQL-1_0 | Kinesis Stream | Firehose | 1 | N\u002FA (SQL) | No |\n| **Anomaly detection (Flink)** | FLINK-1_19 | Kinesis Stream | S3 via Firehose | 8 | 30s interval | No |\n| **Exploratory analysis (Zeppelin)** | ZEPPELIN-FLINK-1_0 | Kinesis Stream | (notebook output) | 2 | Optional | Yes |\n| **ETL enrichment (Flink)** | FLINK-1_19 | Kinesis Stream | Firehose to S3 | 4 | 60s interval | No |\n| **Alerting (SQL lambdas)** | SQL-1_0 | Kinesis Stream | Lambda via Firehose | 1 | N\u002FA (SQL) | No |\n| **Dev\u002Ftest** | FLINK-1_19 | Kinesis Stream | Kinesis Stream | 1 | 120s interval | Optional |\n\n## NEVER (top 5 — full list of 12 in references)\n\n- NEVER start a KDA application that has no service execution role\n  configured. The application fails immediately with\n  `AccessDeniedException` on the first Kinesis `GetRecords` call. The\n  execution role is the #1 prerequisite for KDA.\n- NEVER use `AdministratorAccess` on the service execution role. Scope\n  to the specific Kinesis streams, Firehose delivery streams, and S3\n  code objects the app needs. KDA applications run arbitrary streaming\n  code — a broad role is a privilege escalation vector.\n- NEVER deploy a Flink application that reads from a Kinesis stream\n  with fewer shards than `Parallelism`. Sub-parallelism wastes KPUs.\n  Match `Parallelism` to the source shard count for full utilization.\n- NEVER disable checkpointing in production. A failure means full\n  state loss and replay from the earliest unprocessed record. For\n  stateful Flink apps, checkpoints are the ONLY recovery mechanism.\n- NEVER use `latest` or unversioned S3 keys for application code. KDA\n  pulls the code at application start — a new push silently changes\n  what runs. Pin to a versioned key (e.g., `fraud-detection-1.0.0.jar`)\n  or SHA suffix. #1 reproducibility breaker.\n\n## Expert heuristic — parallelism, checkpoints, and SQL-vs-Flink strategy\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Expert heuristic — parallelism, checkpoints, and SQL-vs-Flink strategy\".\n> Load when: tuning strategy — SQL-vs-Flink selection, session-window gaps, parallelism sizing, checkpoint intervals, log retention.\n\n## Pre-flight safety checks (run before any deployment CLI)\n\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Pre-flight safety checks (run before any deployment CLI)\".\n> Load when: about to run any deployment CLI — the confirmation checklist covering role, streams, code object, quota, log group.\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a Kinesis Data Analytics deployment request, your\nENTIRE response MUST be the checklist block below. The labels are\n**case-sensitive all-caps keywords**. Do NOT write a preamble. Start\nwith `APPLICATION:` and stop after the `VERIFICATION_COMMANDS:` block.\n\n```text\nAPPLICATION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓]      Runtime environment — FLINK-1_19 | SQL-1_0 | ZEPPELIN-FLINK-1_0\n  [✓]      Service execution role — \u003Crole-arn> (\u003Cscoped-permissions>)\n  [✓]      Source — Kinesis Data Stream | Firehose, \u003Cstream-arn>, starting position \u003CLATEST | TRIM_HORIZON | NOW>\n  [✓]      Destination — Kinesis Data Stream | Firehose | S3, \u003Cresource-arn>, parallelism \u003Cn>\n  [✓]      Application code — s3:\u002F\u002F\u003Cbucket>\u002F\u003Ckey> (Flink) | inline SQL (SQL)\n  [✓]      Checkpointing — interval \u003Cms>, min pause \u003Cms>, configuration CUSTOM | DEFAULT\n  [✓]      Parallelism — \u003Cn> (parallelismPerKPU \u003Cn>, \u003Ctotal> KPUs)\n  [✓]      CloudWatch logging — enabled, log group \u003Clog-group>\n  [✓]      Tags — \u003Ctags>\n  [OPTIONAL] Studio notebook — Apache Zeppelin (configured | not configured)\n  [OPTIONAL] Application snapshots — enabled for stateful recovery\nVERIFICATION_COMMANDS:\n  aws kinesisanalyticsv2 describe-application --application-name \u003Cname>\n  aws iam get-role --role-name \u003Cexec-role>\n  aws kinesis describe-stream --stream-name \u003Csource-stream>\n  aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002F\u003Cname>\n```\n\n**Status marker semantics:**\n- `[✓]` — applied and verified.\n- `[✗]` — NOT applied or misconfigured. Cite the gap.\n- `[OPTIONAL]` — recommended but not required.\n- `[INPUT NEEDED]` — prerequisite value missing; operator must provide.\n\n**PREREQUISITES_MISSING verdict:** if any REQUIRED prerequisite is\nmissing (execution role, source stream, destination resource, S3 code\nobject for Flink apps), the verdict is `PREREQUISITES_MISSING`.\n\n## References (load on demand)\n\n- [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) — full copy-pasteable CLI sequence for all 11 deployment steps with Terraform \u002F CloudFormation equivalents (existing)\n- [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) — checkpointing, parallelism and KPU tuning, Studio notebook setup, application snapshots, expert SQL-vs-Flink heuristics (moved verbatim; existing deep reference)\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — pre-flight safety checks to run before any deployment CLI\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — edge-case handling (cross-account sources, schema evolution, VPC sources) and recent AWS features 2024-2026\n\n## Domain\n\nAWS CloudOps \u002F Kinesis Data Analytics Streaming Compute Provisioning.\n\n## Edge-case handling\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Edge-case handling\".\n> Load when: hitting an edge case — cross-account sources, schema evolution, snapshot restore with code changes, VPC\u002Fprivate MSK sources.\n\n## AWS documentation\n\n- **Kinesis Data Analytics Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fjava\u002Fgetting-started.html\n- **CreateApplication API (v2)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalyticsv2\u002Flatest\u002FAPIReference\u002FAPI_CreateApplication.html\n- **Managed Service for Apache Flink** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fwhat-is-managed-flink.html\n- **Flink Application Configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fjava\u002Fapplication-config.html\n- **Checkpointing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fcheckpointing.html\n- **Parallelism** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fparallelism.html\n- **Studio Notebooks** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fstudio\u002Fgetting-started.html\n- **Application Snapshots** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fapp-snapshots.html\n- **Session Windows SQL** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fdev\u002Fsql-app-session-windows.html\n- **Kinesis Analytics CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fkinesisanalyticsv2\u002F\n\n## References\n\n- `references\u002Fcli-commands-and-iac.md` — full copy-pasteable CLI command\n  sequence for all 11 deployment steps, including execution role\n  creation, source stream verification, Flink\u002FSQL application\n  creation, checkpointing and parallelism configuration, Studio\n  notebook setup, application snapshots, and Terraform \u002F\n  CloudFormation equivalents.\n\n- `references\u002Fexecution-and-capacity-guide.md` — deep reference on\n  service execution role scoping, parallelism and KPU tuning,\n  checkpointing strategy, snapshot-based recovery, Studio notebook\n  promotion, SQL windowing patterns (session, hopping, tumbling),\n  VPC source configuration, full NEVER list, edge-case handling, and\n  pre-flight safety CLI.\n","# Kinesis Data Analytics Deployer\n\nAn AWS CloudOps agent skill that deploys Amazon Kinesis Data Analytics\napplications (Managed Service for Apache Flink and Studio SQL\napplications) with correct production defaults. Emits a\nREADY_TO_DEPLOY checklist verifying every configuration item.\n\n## Quick navigation\n\n| Need | Section |\n|---|---|\n| What MUST be in the response | \"STRICT output contract\" |\n| Why application-before-code order matters | \"Reasoning framework\" |\n| What to verify before deploying | \"Prerequisites\" |\n| The ordered deployment steps | \"Deployment procedure\" |\n| Common silent-failure pitfalls | \"NEVER\" |\n| SQL-vs-Flink decision matrix | \"Workload matrix\" |\n| 2024-2026 feature changes | \"Recent AWS features\" |\n| Deep CLI sequences | `references\u002Fcli-commands-and-iac.md` |\n| Execution roles, parallelism, checkpoints, full NEVER | `references\u002Fexecution-and-capacity-guide.md` |\n\n## STRICT output contract\n\nWhen this skill is invoked with a Kinesis Data Analytics deployment\nrequest, the agent MUST respond with the READY_TO_DEPLOY checklist\ndefined in \"Output format\" using the literal all-caps labels\n`APPLICATION:`, `VERDICT:`, `CHECKLIST:`, and `VERIFICATION_COMMANDS:`.\nDo NOT preface the checklist with prose, headings, or disclaimers —\nemit the block as the first lines.\n\n### Required output structure\n\n1. `APPLICATION: \u003Capplication-name>` — the KDA application being\n   deployed.\n2. `VERDICT: READY_TO_DEPLOY` OR `VERDICT: PREREQUISITES_MISSING`.\n3. `CHECKLIST:` followed by indented lines with status markers\n   (`[✓]`, `[✗]`, `[OPTIONAL]`, `[INPUT NEEDED]`).\n4. `VERIFICATION_COMMANDS:` followed by indented\n   `aws kinesisanalyticsv2 ...` commands.\n\n### FORBIDDEN output patterns\n\n- **No prose preamble before `APPLICATION:`** — first non-empty line\n  MUST be `APPLICATION:`.\n- **No markdown variants of labels** — write `VERDICT:`, not\n  `**VERDICT:**`, `### Verdict`, or `` `VERDICT` ``.\n- **No swapping verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- **No omitting `VERIFICATION_COMMANDS:`** — include even when\n  PREREQUISITES_MISSING.\n- **No extra sections after `VERIFICATION_COMMANDS:`** — the\n  checklist block is the entire response.\n- **No status marker drift** — use only `[✓]`, `[✗]`, `[OPTIONAL]`,\n  `[INPUT NEEDED]`.\n\n### Perfect example (copy the shape exactly)\n\n```text\nAPPLICATION: fraud-detection-flink\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓]      Runtime environment — FLINK-1_19, application mode STREAMING\n  [✓]      Service execution role — arn:aws:iam::123456789012:role\u002FKDAExecutionRole (Kinesis read, Firehose write, CloudWatch Logs, S3 code)\n  [✓]      Source — Kinesis Data Stream arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftransactions, starting position LATEST\n  [✓]      Destination — Kinesis Data Stream arn:aws:aws...:stream\u002Falerts, parallelism 4\n  [✓]      Application code — s3:\u002F\u002Fkda-apps\u002Ffraud-detection-1.0.0.jar (pinned, NOT latest)\n  [✓]      Checkpointing — interval 60000 ms, min pause 5000 ms, configuration UPDATE\n  [✓]      Parallelism — 4 (parallelismPerKPU 1, 4 KPUs total)\n  [✓]      CloudWatch logging — enabled, log group \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n  [✓]      Snapshots — configured for stateful recovery\n  [✓]      Tags — Environment=production, Application=fraud-detection\n  [OPTIONAL] Studio notebook — Apache Zeppelin (not configured for this app)\nVERIFICATION_COMMANDS:\n  aws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink\n  aws iam get-role --role-name KDAExecutionRole\n  aws kinesis describe-stream --stream-name transactions\n  aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n```\n\n## Reasoning framework (why the application-before-code order matters)\n\n1. **Application FIRST** — a KDA application is the container for all\n   Flink\u002FSQL streaming work. It defines the runtime environment\n   (FLINK-1_19 or SQL-1_0), execution role, parallelism, and\n   checkpointing. Without an application you cannot run code.\n2. **Service execution role** — the IAM role the application assumes\n   at runtime for Kinesis reads, Firehose\u002FS3 writes, CloudWatch\n   logging, and S3 code retrieval. Without it, the application fails\n   to start with `AccessDeniedException` on the first source read.\n3. **Source configuration** — Kinesis Data Stream or Firehose as the\n   streaming source. Defines the stream ARN and starting position\n   (LATEST, TRIM_HORIZON, or AT_TIMESTAMP). Without a source, the\n   application starts but processes zero records.\n4. **Destination configuration** — Kinesis Data Stream, Firehose, or\n   S3 as the destination. SQL apps emit INSERT results; Flink apps\n   write via sinks. Without a destination, processed records are\n   dropped.\n5. **Application code** — for Flink, a JAR\u002FPython package in S3; for\n   SQL, an in-line SQL script. Pin to a versioned key — NEVER `latest`\n   or `\u002Fcurrent\u002F` paths.\n6. **Checkpointing and parallelism LAST** — tuning parameters applied\n   AFTER the application is created. Checkpointing enables stateful\n   recovery; parallelism controls throughput. Changing them requires\n   an application update.\n\n## Prerequisites (verify before deployment)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| **IAM service execution role** | Trust `kinesisanalytics.amazonaws.com`. Scope for Kinesis\u002FFirehose\u002FS3\u002FCloudWatch. NEVER `AdministratorAccess`. | `aws iam get-role --role-name \u003Crole>` |\n| **Source Kinesis stream (or Firehose)** | MUST exist and be ACTIVE before the application reads. Without it, the source is empty. | `aws kinesis describe-stream --stream-name \u003Cname>` |\n| **Destination resource** | Kinesis stream, Firehose delivery stream, or S3 bucket. MUST exist before the application writes. | `aws kinesis describe-stream` \u002F `aws firehose describe-delivery-stream` \u002F `aws s3 ls` |\n| **S3 code bucket (Flink apps)** | Stores the application JAR\u002FPython package. MUST exist with the code object. | `aws s3 ls s3:\u002F\u002F\u003Cbucket>\u002F\u003Ckey>` |\n| **CloudWatch log group** | KDA streams application logs and Flink TaskManager logs. Recommended for production. | `aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002F` |\n| **Runtime environment** | `FLINK-1_19` (or SQL-1_0 for legacy SQL). Determines engine version. Use the latest stable Flink runtime. | `aws kinesisanalyticsv2 list-applications` (check similar apps) |\n| **Service quota** | Default KPUs per Region per account. Request increase BEFORE production. | `aws service-quotas get-service-quota --service-code kinesisanalytics --quota-code L-XXXXXXXX` |\n| **VPC configuration (if private sources)** | If the app reads from private MSK or private OpenSearch, VPC subnets and security groups are REQUIRED. | `aws ec2 describe-subnets --subnet-ids \u003Cids>` |\n| **Glue schema registry (if avro\u002Fprotobuf)** | Source records using Avro\u002FProtobuf MUST have a schema in the registry for Flink to deserialize. | `aws glue get-registry --registry-name \u003Cname>` |\n\n## Deployment procedure (apply in order)\n\n### Step 1: IAM service execution role\n\nThe service execution role is assumed by the KDA application for all\nruntime AWS API calls (Kinesis reads, Firehose writes, S3 code\nretrieval, CloudWatch logging). Without it, the application fails on\nthe first source read.\n\n```bash\naws iam create-role \\\n  --role-name KDAExecutionRole \\\n  --assume-role-policy-document '{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [{\n      \"Effect\": \"Allow\",\n      \"Principal\": {\"Service\": \"kinesisanalytics.amazonaws.com\"},\n      \"Action\": \"sts:AssumeRole\"\n    }]\n  }'\n\naws iam put-role-policy \\\n  --role-name KDAExecutionRole \\\n  --policy-name kda-exec \\\n  --policy-document '{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesis:GetRecords\", \"kinesis:GetShardIterator\", \"kinesis:DescribeStream\", \"kinesis:ListShards\"],\n        \"Resource\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftransactions\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesis:PutRecord\", \"kinesis:PutRecords\"],\n        \"Resource\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Falerts\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"s3:GetObject\"],\n        \"Resource\": \"arn:aws:s3:::kda-apps\u002Ffraud-detection-1.0.0.jar\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"logs:CreateLogGroup\", \"logs:CreateLogStream\", \"logs:PutLogEvents\", \"logs:DescribeLogGroups\"],\n        \"Resource\": \"arn:aws:logs:us-east-1:123456789012:log-group:\u002Faws\u002Fkinesis-analytics\u002F*\"\n      },\n      {\n        \"Effect\": \"Allow\",\n        \"Action\": [\"kinesisanalytics:CreateApplicationSnapshot\", \"kinesisanalytics:DeleteApplicationSnapshot\", \"kinesisanalytics:DescribeApplicationSnapshot\"],\n        \"Resource\": \"arn:aws:kinesisanalytics:us-east-1:123456789012:application\u002Ffraud-detection-flink\"\n      }\n    ]\n  }'\n```\n\nRules:\n- **Trust `kinesisanalytics.amazonaws.com`** — NOT\n  `firehose.amazonaws.com` (separate service principal).\n- **NEVER use `AdministratorAccess`** — scope to the specific Kinesis\n  streams, Firehose delivery streams, and S3 code objects the app\n  needs.\n- **CloudWatch Logs permissions** — required for application log\n  delivery and Flink framework errors.\n- **Pass role for KDA-created resources** — if the app creates\n  snapshots, include `kinesisanalytics:*ApplicationSnapshot`.\n\n### Step 2: Confirm source stream exists\n\n```bash\naws kinesis describe-stream --stream-name transactions \\\n  --query 'StreamDescription.{Status:StreamStatus,ARN:StreamARN,Shards:Shards[*].ShardId}'\n# StreamStatus MUST be ACTIVE\n```\n\nFor Firehose source:\n\n```bash\naws firehose describe-delivery-stream --delivery-stream-name ingestion-stream \\\n  --query 'DeliveryStreamDescription.{Status:DeliveryStreamStatus,ARN:DeliveryStreamARN}'\n# DeliveryStreamStatus MUST be ACTIVE\n```\n\n### Step 3: Create the application (Flink)\n\n```bash\naws kinesisanalyticsv2 create-application \\\n  --application-name fraud-detection-flink \\\n  --runtime-environment FLINK-1_19 \\\n  --service-execution-role arn:aws:iam::123456789012:role\u002FKDAExecutionRole \\\n  --application-configuration '{\n    \"ApplicationCodeConfiguration\": {\n      \"CodeContent\": {\n        \"S3ContentLocation\": {\n          \"BucketARN\": \"arn:aws:s3:::kda-apps\",\n          \"FileKey\": \"fraud-detection-1.0.0.jar\"\n        },\n        \"CodeContentType\": \"ZIPFILE\"\n      },\n      \"CodeContentType\": \"ZIPFILE\"\n    },\n    \"FlinkApplicationConfiguration\": {\n      \"CheckpointConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"CheckpointingEnabled\": true,\n        \"CheckpointInterval\": 60000,\n        \"MinPauseBetweenCheckpoints\": 5000\n      },\n      \"ParallelismConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"Parallelism\": 4,\n        \"ParallelismPerKPU\": 1\n      },\n      \"MonitoringConfiguration\": {\n        \"ConfigurationType\": \"CUSTOM\",\n        \"MetricsLevel\": \"APPLICATION\",\n        \"LogLevel\": \"INFO\",\n        \"LogStreamARN\": \"arn:aws:logs:us-east-1:123456789012:log-group:\u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\"\n      }\n    },\n    \"EnvironmentProperties\": {\n      \"PropertyGroups\": [\n        {\"PropertyGroupId\": \"ConsumerConfig\", \"PropertyMap\": {\"STREAM_NAME\": \"transactions\", \"AWS_REGION\": \"us-east-1\", \"SCAN_START_POSITION\": \"LATEST\"}}\n      ]\n    },\n    \"ApplicationSnapshotConfiguration\": {\n      \"SnapshotsEnabled\": true\n    }\n  }' \\\n  --tags Environment=production,Application=fraud-detection\n```\n\n### Step 4: Create the application (SQL)\n\n```bash\naws kinesisanalyticsv2 create-application \\\n  --application-name session-windows-sql \\\n  --runtime-environment SQL-1_0 \\\n  --service-execution-role arn:aws:iam::123456789012:role\u002FKDAExecutionRole \\\n  --application-configuration '{\n    \"SqlApplicationConfiguration\": {\n      \"Inputs\": [{\n        \"NamePrefix\": \"SOURCE_SQL_STREAM\",\n        \"KinesisStreamsInput\": {\n          \"ResourceARN\": \"arn:aws:kinesis:us-east-1:123456789012:stream\u002Fclicks\",\n          \"RoleARN\": \"arn:aws:iam::123456789012:role\u002FKDAExecutionRole\"\n        },\n        \"InputSchema\": {\n          \"RecordFormat\": {\"RecordFormatType\": \"JSON\"},\n          \"RecordColumns\": [\n            {\"Name\": \"event_time\", \"SqlType\": \"TIMESTAMP\", \"Mapping\": \"$.event_time\"},\n            {\"Name\": \"user_id\", \"SqlType\": \"VARCHAR(64)\", \"Mapping\": \"$.user_id\"},\n            {\"Name\": \"event_type\", \"SqlType\": \"VARCHAR(32)\", \"Mapping\": \"$.event_type\"}\n          ]\n        },\n        \"InputParallelism\": {\"Count\": 1},\n        \"InputStartingPositionConfiguration\": {\"InputStartingPosition\": \"NOW\"}\n      }]\n    },\n    \"ApplicationCodeConfiguration\": {\n      \"CodeContent\": {\n        \"TextInput\": \"CREATE OR REPLACE PUMP \\\"SESSION_PUMP\\\" AS INSERT INTO DESTINATION_SQL_STREAM SELECT STREAM user_id, COUNT(*) AS event_count, SESSION_START() AS window_start, SESSION_END() AS window_end FROM SOURCE_SQL_STREAM_001 GROUP BY user_id, SESSION(event_time, INTERVAL '\\''60'\\'' SECONDS);\"\n      },\n      \"CodeContentType\": \"INLINE\"\n    }\n  }' \\\n  --tags Environment=production,Application=session-windows\n```\n\n### Step 5: Configure source via CloudWatch log group\n\n```bash\naws logs create-log-group \\\n  --log-group-name \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\n```\n\n### Step 6: Start the application\n\n```bash\naws kinesisanalyticsv2 start-application \\\n  --application-name fraud-detection-flink \\\n  --run-configuration '{\n    \"FlinkRunConfiguration\": {\"AllowNonRestoredState\": false},\n    \"SqlRunConfigurations\": [],\n    \"ApplicationRestoreConfiguration\": {\n      \"RestoreType\": \"RESTORE_FROM_LATEST_SNAPSHOT\"\n    }\n  }'\n```\n\nWait for `RUNNING` state:\n\n```bash\naws kinesisanalyticsv2 describe-application \\\n  --application-name fraud-detection-flink \\\n  --query 'ApplicationDetail.ApplicationStatus'\n# Should return 'RUNNING'\n```\n\n### Step 7: Checkpointing (Flink stateful recovery)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 7: Checkpointing (Flink stateful recovery)\".\n> Load when: configuring Flink checkpointing — interval, min pause, AllowNonRestoredState rules.\n\n### Step 8: Parallelism tuning\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 8: Parallelism tuning\".\n> Load when: sizing parallelism and KPUs — matching parallelism to shard count, ParallelismPerKPU, JobManager overhead.\n\n### Step 9: Studio notebook (Zeppelin, interactive analysis)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 9: Studio notebook (Zeppelin, interactive analysis)\".\n> Load when: creating a Studio notebook — Zeppelin application config, custom artifacts, promotion to a production app.\n\n### Step 10: Application snapshots (stateful recovery)\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Step 10: Application snapshots (stateful recovery)\".\n> Load when: using snapshots for stateful recovery — create\u002Flist snapshots and RESTORE_FROM_CUSTOM_SNAPSHOT starts.\n\n### Step 11: Verification\n\n```bash\naws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink\naws kinesisanalyticsv2 describe-application --application-name fraud-detection-flink --query 'ApplicationDetail.ApplicationStatus'\naws iam get-role --role-name KDAExecutionRole\naws kinesis describe-stream --stream-name transactions\naws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002Ffraud-detection-flink\naws kinesisanalyticsv2 list-application-snapshots --application-name fraud-detection-flink\n```\n\n## Recent AWS features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features (2024-2026)\".\n> Load when: checking 2024-2026 feature availability — session windows, snapshots, Flink 1.19, Glue Catalog, VPC sources.\n\n## Workload matrix\n\n| Workload | Runtime | Source | Destination | Parallelism | Checkpointing | Studio notebook |\n|---|---|---|---|---|---|---|\n| **Fraud detection (Flink)** | FLINK-1_19 | Kinesis Stream | Kinesis Stream | 4-8 | 60s interval | No |\n| **Sessionization (SQL)** | SQL-1_0 | Kinesis Stream | Kinesis Stream | 1-2 | N\u002FA (SQL) | No |\n| **Click analytics (SQL)** | SQL-1_0 | Kinesis Stream | Firehose | 1 | N\u002FA (SQL) | No |\n| **Anomaly detection (Flink)** | FLINK-1_19 | Kinesis Stream | S3 via Firehose | 8 | 30s interval | No |\n| **Exploratory analysis (Zeppelin)** | ZEPPELIN-FLINK-1_0 | Kinesis Stream | (notebook output) | 2 | Optional | Yes |\n| **ETL enrichment (Flink)** | FLINK-1_19 | Kinesis Stream | Firehose to S3 | 4 | 60s interval | No |\n| **Alerting (SQL lambdas)** | SQL-1_0 | Kinesis Stream | Lambda via Firehose | 1 | N\u002FA (SQL) | No |\n| **Dev\u002Ftest** | FLINK-1_19 | Kinesis Stream | Kinesis Stream | 1 | 120s interval | Optional |\n\n## NEVER (top 5 — full list of 12 in references)\n\n- NEVER start a KDA application that has no service execution role\n  configured. The application fails immediately with\n  `AccessDeniedException` on the first Kinesis `GetRecords` call. The\n  execution role is the #1 prerequisite for KDA.\n- NEVER use `AdministratorAccess` on the service execution role. Scope\n  to the specific Kinesis streams, Firehose delivery streams, and S3\n  code objects the app needs. KDA applications run arbitrary streaming\n  code — a broad role is a privilege escalation vector.\n- NEVER deploy a Flink application that reads from a Kinesis stream\n  with fewer shards than `Parallelism`. Sub-parallelism wastes KPUs.\n  Match `Parallelism` to the source shard count for full utilization.\n- NEVER disable checkpointing in production. A failure means full\n  state loss and replay from the earliest unprocessed record. For\n  stateful Flink apps, checkpoints are the ONLY recovery mechanism.\n- NEVER use `latest` or unversioned S3 keys for application code. KDA\n  pulls the code at application start — a new push silently changes\n  what runs. Pin to a versioned key (e.g., `fraud-detection-1.0.0.jar`)\n  or SHA suffix. #1 reproducibility breaker.\n\n## Expert heuristic — parallelism, checkpoints, and SQL-vs-Flink strategy\n\n> **Moved verbatim** → [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) § \"Expert heuristic — parallelism, checkpoints, and SQL-vs-Flink strategy\".\n> Load when: tuning strategy — SQL-vs-Flink selection, session-window gaps, parallelism sizing, checkpoint intervals, log retention.\n\n## Pre-flight safety checks (run before any deployment CLI)\n\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Pre-flight safety checks (run before any deployment CLI)\".\n> Load when: about to run any deployment CLI — the confirmation checklist covering role, streams, code object, quota, log group.\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a Kinesis Data Analytics deployment request, your\nENTIRE response MUST be the checklist block below. The labels are\n**case-sensitive all-caps keywords**. Do NOT write a preamble. Start\nwith `APPLICATION:` and stop after the `VERIFICATION_COMMANDS:` block.\n\n```text\nAPPLICATION: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓]      Runtime environment — FLINK-1_19 | SQL-1_0 | ZEPPELIN-FLINK-1_0\n  [✓]      Service execution role — \u003Crole-arn> (\u003Cscoped-permissions>)\n  [✓]      Source — Kinesis Data Stream | Firehose, \u003Cstream-arn>, starting position \u003CLATEST | TRIM_HORIZON | NOW>\n  [✓]      Destination — Kinesis Data Stream | Firehose | S3, \u003Cresource-arn>, parallelism \u003Cn>\n  [✓]      Application code — s3:\u002F\u002F\u003Cbucket>\u002F\u003Ckey> (Flink) | inline SQL (SQL)\n  [✓]      Checkpointing — interval \u003Cms>, min pause \u003Cms>, configuration CUSTOM | DEFAULT\n  [✓]      Parallelism — \u003Cn> (parallelismPerKPU \u003Cn>, \u003Ctotal> KPUs)\n  [✓]      CloudWatch logging — enabled, log group \u003Clog-group>\n  [✓]      Tags — \u003Ctags>\n  [OPTIONAL] Studio notebook — Apache Zeppelin (configured | not configured)\n  [OPTIONAL] Application snapshots — enabled for stateful recovery\nVERIFICATION_COMMANDS:\n  aws kinesisanalyticsv2 describe-application --application-name \u003Cname>\n  aws iam get-role --role-name \u003Cexec-role>\n  aws kinesis describe-stream --stream-name \u003Csource-stream>\n  aws logs describe-log-groups --log-group-name-prefix \u002Faws\u002Fkinesis-analytics\u002F\u003Cname>\n```\n\n**Status marker semantics:**\n- `[✓]` — applied and verified.\n- `[✗]` — NOT applied or misconfigured. Cite the gap.\n- `[OPTIONAL]` — recommended but not required.\n- `[INPUT NEEDED]` — prerequisite value missing; operator must provide.\n\n**PREREQUISITES_MISSING verdict:** if any REQUIRED prerequisite is\nmissing (execution role, source stream, destination resource, S3 code\nobject for Flink apps), the verdict is `PREREQUISITES_MISSING`.\n\n## References (load on demand)\n\n- [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) — full copy-pasteable CLI sequence for all 11 deployment steps with Terraform \u002F CloudFormation equivalents (existing)\n- [references\u002Fexecution-and-capacity-guide.md](references\u002Fexecution-and-capacity-guide.md) — checkpointing, parallelism and KPU tuning, Studio notebook setup, application snapshots, expert SQL-vs-Flink heuristics (moved verbatim; existing deep reference)\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — pre-flight safety checks to run before any deployment CLI\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — edge-case handling (cross-account sources, schema evolution, VPC sources) and recent AWS features 2024-2026\n\n## Domain\n\nAWS CloudOps \u002F Kinesis Data Analytics Streaming Compute Provisioning.\n\n## Edge-case handling\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Edge-case handling\".\n> Load when: hitting an edge case — cross-account sources, schema evolution, snapshot restore with code changes, VPC\u002Fprivate MSK sources.\n\n## AWS documentation\n\n- **Kinesis Data Analytics Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fjava\u002Fgetting-started.html\n- **CreateApplication API (v2)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalyticsv2\u002Flatest\u002FAPIReference\u002FAPI_CreateApplication.html\n- **Managed Service for Apache Flink** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fwhat-is-managed-flink.html\n- **Flink Application Configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fjava\u002Fapplication-config.html\n- **Checkpointing** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fcheckpointing.html\n- **Parallelism** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fparallelism.html\n- **Studio Notebooks** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fstudio\u002Fgetting-started.html\n- **Application Snapshots** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fmanaged-flink\u002Flatest\u002Fapplaunchboard\u002Fapp-snapshots.html\n- **Session Windows SQL** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkinesisanalytics\u002Flatest\u002Fdev\u002Fsql-app-session-windows.html\n- **Kinesis Analytics CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fkinesisanalyticsv2\u002F\n\n## References\n\n- `references\u002Fcli-commands-and-iac.md` — full copy-pasteable CLI command\n  sequence for all 11 deployment steps, including execution role\n  creation, source stream verification, Flink\u002FSQL application\n  creation, checkpointing and parallelism configuration, Studio\n  notebook setup, application snapshots, and Terraform \u002F\n  CloudFormation equivalents.\n\n- `references\u002Fexecution-and-capacity-guide.md` — deep reference on\n  service execution role scoping, parallelism and KPU tuning,\n  checkpointing strategy, snapshot-based recovery, Studio notebook\n  promotion, SQL windowing patterns (session, hopping, tumbling),\n  VPC source configuration, full NEVER list, edge-case handling, and\n  pre-flight safety CLI.\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, kinesis, kinesis-analytics, cloudops, deploy, analytics, streaming, flink","1","Jacky Chan — AWS Community Builder","aws-cloudops","Analytics","0.1.0","aws, kinesis, kinesis-analytics, kinesis-data-analytics, managed-flink, apache-flink, cloudops, deploy, analytics, streaming, flink, studio-notebook, zeppelin, checkpointing, parallelism, session-windows","deploy","high","false","capability","Invoke when the user wants to create a new Kinesis Data Analytics application (Managed Service for Apache Flink or Studio SQL), deploy a Flink streaming job, deploy a streaming SQL pipeline with session\u002Fhopping\u002Ftumbling windows, configure an interactive Studio notebook with Zeppelin, validate an existing KDA configuration against best practices, generate deployment CLI commands or IaC templates, or troubleshoot a KDA deployment failure caused by missing prerequisites (execution role, source stream, checkpoint configuration). Do NOT invoke for Kinesis Data Streams provisioning (use kinesis-stream-auditor), Kinesis Firehose delivery (use kinesis-firehose-troubshooter), or MSK (use kafka-msk-troubleshooter).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Requires an LLM agent runtime (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with kinesisanalytics, kinesisanalyticsv2, kinesis, firehose, iam, logs, and s3 access. Works with Terraform aws_kinesisanalyticsv2_application \u002F aws_kinesis_analytics_application resources, CloudFormation AWS::KinesisAnalyticsV2::Application resources, and the AWS Console Kinesis Data Analytics wizard.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fkinesis-analytics-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 kinesis-analytics-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill kinesis-analytics-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill kinesis-analytics-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",7572,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fflink-production-streaming.md",1198,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fbaselines\u002Fflink-production-streaming.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fmissing-execution-role.md",938,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fbaselines\u002Fmissing-execution-role.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-source-stream.md",1204,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fbaselines\u002Fmissing-source-stream.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fsql-session-windows.md",1506,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fbaselines\u002Fsql-session-windows.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fstudio-notebook-zeppelin.md",1095,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fbaselines\u002Fstudio-notebook-zeppelin.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1672,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",13883,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fflink-production-streaming.md",953,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fprompts\u002Fflink-production-streaming.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fmissing-execution-role.md",634,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fprompts\u002Fmissing-execution-role.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-source-stream.md",776,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fprompts\u002Fmissing-source-stream.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fsql-session-windows.md",908,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fprompts\u002Fsql-session-windows.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fstudio-notebook-zeppelin.md",725,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fevals\u002Fprompts\u002Fstudio-notebook-zeppelin.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"example\u002FREADME.md",8830,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fexample\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",3815,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fcli-commands-and-iac.md",13390,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Freferences\u002Fcli-commands-and-iac.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fdiagnostic-commands.md",1034,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fexecution-and-capacity-guide.md",15997,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Freferences\u002Fexecution-and-capacity-guide.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4546,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-analytics-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]