AGENT SKILL

dms-endpoint-deployer

Provisions AWS DMS endpoints with production defaults: source endpoint (Oracle, MySQL, PostgreSQL, SQL Server, MongoDB, S3), target endpoint (same set plus Redshift, OpenSearch, Kinesis, Kafka, Neptune), connection attributes (port, database name, credentials via Secrets Manager), SSL mode (require, verify-ca, verify-full), extra connection attributes for engine-specific tuning, KMS encryption, certificate authority for TLS, replication instance requirements, engine version compatibility, and source-specific CDC prerequisites (PostgreSQL wal_level=logical, Oracle supplemental logging). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a DMS endpoint, configuring connection attributes, setting up CDC, managing DMS certificates, or tuning extra connection attributes. Triggers: create dms endpoint, dms source endpoint, dms target endpoint, dms ssl, dms cdc, dms secrets manager, dms certificate.

License 许可
Apache-2.0
最近更新
2026-09-24
Stars
★ 4
Forks
0

01 前言 Front Matter

name
dms-endpoint-deployer
license
Apache-2.0
metadata
{ "tags": "aws, dms, endpoint, migration, cloudops, deploy, provisioning, cdc, ssl, secrets-manager, source-endpoint, target-endpoint", "phase": "1", "author": "Jacky Chan — AWS Community Builder", "domain": "aws-cloudops", "family": "Migration", "version": "0.1.0", "keywords": "aws, dms, database migration service, endpoint, source endpoint, target endpoint, cdc, change data capture, ssl, secrets manager, cloudops, deploy, provisioning, oracle, mysql, postgresql, sql server, mongodb, redshift, opensearch, kinesis, kafka", "task_type": "deploy", "complexity": "high", "entry_point": "false", "skill_class": "capability", "when_to_use": "Invoke when the user wants to create a DMS endpoint (source or target), configure connection attributes, set up CDC replication prerequisites, manage DMS certificates and SSL, use Secrets Manager for endpoint credentials, or tune extra connection attributes for engine-specific behavior. Do NOT invoke for DMS replication task configuration (use dms-replication-task skills), DMS replication instance provisioning (use replication-instance skills), or SCT (Schema Conversion Tool) operations.", "dependencies": "aws-orchestrator", "requires_llm": "true", "verdict_shape": "READY_TO_DEPLOY | PREREQUISITES_MISSING", "lifecycle_status": "active", "supports_pipeline": "true" }
description
Provisions AWS DMS endpoints with production defaults: source endpoint (Oracle, MySQL, PostgreSQL, SQL Server, MongoDB, S3), target endpoint (same set plus Redshift, OpenSearch, Kinesis, Kafka, Neptune), connection attributes (port, database name, credentials via Secrets Manager), SSL mode (require, verify-ca, verify-full), extra connection attributes for engine-specific tuning, KMS encryption, certificate authority for TLS, replication instance requirements, engine version compatibility, and source-specific CDC prerequisites (PostgreSQL wal_level=logical, Oracle supplemental logging). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a DMS endpoint, configuring connection attributes, setting up CDC, managing DMS certificates, or tuning extra connection attributes. Triggers: create dms endpoint, dms source endpoint, dms target endpoint, dms ssl, dms cdc, dms secrets manager, dms certificate.
compatibility
Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with dms access (and secretsmanager:GetSecretValue if using Secrets Manager for credentials). Works with Terraform aws_dms_endpoint resources and CloudFormation AWS::DMS::Endpoint templates.

02 资源文件 19

03 SKILL.md 正文

DMS Endpoint Deployer

An AWS CloudOps agent skill that provisions AWS DMS endpoints with correct defaults. The skill walks the operator through source and target endpoint selection, connection attribute configuration (database name, port, username/password via Secrets Manager), SSL mode selection, extra connection attributes for engine-specific tuning, KMS encryption, certificate authority for TLS, engine version compatibility, and source-specific CDC prerequisites — then captures all decisions and emits a READY_TO_DEPLOY checklist with copy-pasteable verification commands.

Activation keywords

create DMS endpoint, DMS source endpoint, DMS target endpoint, DMS connection attributes, DMS SSL, DMS CDC, DMS Secrets Manager, DMS extra connection attributes, DMS certificate.

STRICT output contract

When this skill is invoked with a DMS-endpoint-provisioning request (create a source or target endpoint, configure connection attributes, set up CDC prerequisites, manage certificates, or tune extra connection attributes), the agent MUST respond with the READY_TO_DEPLOY checklist defined in the "Output format" section using the literal all-caps labels DMS_ENDPOINT:, VERDICT:, CHECKLIST:, and VERIFICATION_COMMANDS:. Do NOT preface the checklist with prose, headings, or disclaimers — emit the block as the first lines of the response. This contract is what assertion-based evals and downstream provisioning pipelines rely on; deviating from the literal labels breaks automation silently.

If any prerequisite is missing, the verdict is PREREQUISITES_MISSING with a specific gap citation in the checklist (marked [x]), and READY_TO_DEPLOY MUST NOT also appear.

Quick navigation

Section When to read
Prerequisites Always — verify before provisioning
Step 1 — Source endpoint types Source DB selection
Step 2 — Target endpoint types Target store selection
Step 3 — Connection attributes Host, port, database, credentials
Step 4 — Secrets Manager integration Credential management
Step 5 — SSL mode and certificates TLS configuration
Step 6 — Extra connection attributes Engine-specific tuning
Step 7 — KMS encryption Encryption at rest
Step 8 — CDC prerequisites Change data capture setup
Step 9 — Replication instance compatibility Instance requirements
Step 10 — Recent features Latest DMS capabilities
NEVER do these things Review before signing off
Output format The literal checklist template
references/cdc-prerequisites.md CDC detail per engine
references/connection-tuning.md Extra connection attributes detail

Mindset

One-line takeaway: A DMS endpoint defines the connection parameters for a source or target data store. Source endpoints read data (and optionally CDC changes). Target endpoints receive data. The endpoint's engine type determines which connection attributes and extra connection attributes are valid. CDC requires source- specific prerequisites (e.g., PostgreSQL wal_level=logical, Oracle supplemental logging). Credentials should use Secrets Manager. SSL modes enforce TLS at varying verification levels.

Three misconceptions dominate DMS endpoint misdesign at provisioning time:

  • "Create the endpoint and migration works." It does not. The endpoint is the connection definition, but CDC requires source- specific prerequisites that are OUTSIDE DMS. PostgreSQL needs wal_level=logical and a replication slot. Oracle needs supplemental logging enabled. SQL Server needs SQL Server Agent running for CDC. Without these, the endpoint connects but CDC fails silently or with cryptic errors.

  • "SSL mode 'require' is sufficient for security." SSL mode require encrypts the connection but does NOT verify the server certificate. A man-in-the-middle can intercept. For production, use verify-ca (verifies the certificate authority) or verify- full (verifies the CA AND the server hostname). These require a certificate to be uploaded to DMS via import-certificate.

  • "Extra connection attributes are optional tuning." They are often REQUIRED for correct behavior. PostgreSQL CDC needs PluginName=pglogical. MongoDB needs NestingLevel=ONE or NONE. S3 target needs DataFormat=parquet. Oracle needs AdditionalArchivedLogDestId. Skipping extra connection attributes leads to default behavior that may not match the migration requirements.

Configuration dependency graph (novel heuristic)

Full dependency table and cross-dependency gotchas moved to references/advanced-patterns.md.

Expert heuristic: source-specific CDC prerequisites

Per-engine CDC prerequisite tree moved to references/cdc-prerequisites.md.

Expert heuristic: Secrets Manager for credential management

Secrets Manager integration flow moved to references/advanced-patterns.md.

Expert heuristic: extra-connection-attributes for engine tuning

Common per-engine attribute recipes moved to references/connection-tuning.md.

Prerequisites (verify before provisioning)

Before emitting provisioning commands, verify these prerequisites. If any are missing, the verdict is PREREQUISITES_MISSING.

Prerequisite Why it matters How to verify
Replication instance exists Endpoints connect through the instance aws dms describe-replication-instances
Source/target database reachable Endpoint test requires connectivity Verify VPC/subnet/security group for private DBs
Source CDC prerequisites met (if CDC) CDC tasks fail without source DB config PostgreSQL: SHOW wal_level; Oracle: check supplemental logging
Secrets Manager secret (if using SM) DMS needs GetSecretValue permission aws secretsmanager describe-secret --secret-id <id>
Certificate imported (if verify-ca/full) SSL verification needs the CA cert aws dms describe-certificates
KMS key ARN (if customer-managed) DMS needs KMS permissions aws kms describe-key --key-id <id>
DMS service role has required permissions Endpoint creation + connection test Verify dms-vpc-role and dms-cloudwatch-logs-role exist
Engine version compatibility Instance and endpoints must be compatible Check DMS compatibility matrix

Step 1 — Source endpoint types

DMS supports multiple source endpoint engines. Each has specific connection attributes.

Engine EndpointType CDC support Key attributes
Oracle source Yes (LogMiner / Binary Reader) Port 1521, SID/ServiceName, AdditionalArchivedLogDestId
MySQL source Yes (binary log) Port 3306, binlog_format=ROW
PostgreSQL source Yes (logical replication) Port 5432, PluginName=pglogical
SQL Server source Yes (SQL Server CDC) Port 1433, SQL Server Agent required
MongoDB source Yes (oplog/change streams) Port 27017, replica set required
Amazon S3 source No (full load only) BucketName, CsvColumnName, DataFormat

Create PostgreSQL source endpoint:

aws dms create-endpoint \
  --endpoint-identifier "pg-source-prod" \
  --endpoint-type source \
  --engine-name postgres \
  --username dms_user \
  --password '<password>' \
  --server-name prod-db.cluster-abc123.us-east-1.rds.amazonaws.com \
  --port 5432 \
  --database-name analytics \
  --ssl-mode require \
  --extra-connection-attributes "PluginName=pglogical" \
  --kms-key-id "arn:aws:kms:us-east-1:123456789012:key/abc123" \
  --region us-east-1

Step 2 — Target endpoint types

DMS supports the same source engines as targets, plus additional analytical targets.

Engine EndpointType Full load + CDC Key attributes
Redshift target Yes Port 5439, AcceptAnyDate, MaxFileSize
OpenSearch target Yes EndpointUri, FullLoadErrorPercentage
Kinesis target Yes (CDC to stream) StreamArn, MessageFormat=json
Kafka target Yes (CDC to topic) Broker, Topic, MessageFormat
Neptune target Yes (graph) S3BucketName, ServiceAccessRoleArn
S3 target Yes DataFormat=parquet, CompressionType

Create Redshift target endpoint:

aws dms create-endpoint \
  --endpoint-identifier "redshift-target" \
  --endpoint-type target \
  --engine-name redshift \
  --username dms_loader \
  --password '<password>' \
  --server-name analytics-cluster.abc123.us-east-1.redshift.amazonaws.com \
  --port 5439 \
  --database-name warehouse \
  --ssl-mode require \
  --extra-connection-attributes "AcceptAnyDate=true;MaxFileSize=100000" \
  --region us-east-1

Step 3 — Connection attributes

Each endpoint engine type requires specific connection attributes.

Attribute Required for Description
ServerName All JDBC endpoints Hostname or IP of the database server
Port All JDBC endpoints Database port (engine-specific default)
DatabaseName Most endpoints Target database/schema name
Username Most endpoints Database user with read (source) or write (target) access
Password Most endpoints User password (prefer Secrets Manager)
S3BucketName S3 source/target S3 bucket for data files
BucketFolder S3 source/target Folder path within the bucket
ServiceAccessRoleArn S3/Kinesis/Kafka/Neptune IAM role for service-level access

Step 4 — Secrets Manager integration

Use Secrets Manager instead of inline credentials for security.

Create endpoint with Secrets Manager:

aws dms create-endpoint \
  --endpoint-identifier "pg-source-prod" \
  --endpoint-type source \
  --engine-name postgres \
  --secrets-manager-access-role-arn "arn:aws:iam::123456789012:role/dms-vpc-role" \
  --secrets-manager-secret-id "arn:aws:secretsmanager:us-east-1:123456789012:secret:dms-pg-prod-abc123" \
  --database-name analytics \
  --ssl-mode require \
  --extra-connection-attributes "PluginName=pglogical" \
  --region us-east-1

The secret must contain username, password, engine, host, port, and dbInstanceIdentifier in its JSON payload. The DMS service role must have secretsmanager:GetSecretValue on the secret.

Important: Secrets Manager rotation does NOT automatically update the DMS endpoint. After rotation, re-test the endpoint connection.

Step 5 — SSL mode and certificates

SSL mode Encryption Certificate verification Hostname verification Requires imported cert
none No No No No
require Yes No No No
verify-ca Yes Yes (CA) No Yes
verify-full Yes Yes (CA) Yes (hostname) Yes

Import a certificate:

aws dms import-certificate \
  --certificate-identifier "prod-ca-cert" \
  --certificate-pkcs12 "fileb://prod-ca.p12" \
  --certificate-password '<cert_password>' \
  --region us-east-1

Create endpoint with verify-full SSL:

aws dms create-endpoint \
  --endpoint-identifier "pg-source-secure" \
  --endpoint-type source \
  --engine-name postgres \
  --username dms_user \
  --password '<password>' \
  --server-name prod-db.cluster-abc123.us-east-1.rds.amazonaws.com \
  --port 5432 \
  --database-name analytics \
  --ssl-mode verify-full \
  --certificate-arn "arn:aws:dms:us-east-1:123456789012:cert:prod-ca-cert" \
  --region us-east-1

Step 6 — Extra connection attributes

Engine-specific tuning via semicolon-delimited key=value pairs.

PostgreSQL source (CDC):

--extra-connection-attributes "PluginName=pglogical;slotName=dms_replication_slot;secretsManagerSecretId=prod-db-secret"

Oracle source (CDC with Binary Reader):

--extra-connection-attributes "useLogminerReader=N;AdditionalArchivedLogDestId=1;EnableHomogenousTablespace=true"

S3 target (Parquet format):

--extra-connection-attributes "DataFormat=parquet;EncodingType=rle-dictionary;CompressionType=snappy;AddColumnName=true"

Step 7 — KMS encryption

DMS encrypts endpoint connection data at rest using KMS.

aws dms create-endpoint \
  --endpoint-identifier "pg-source-prod" \
  --endpoint-type source \
  --engine-name postgres \
  --username dms_user \
  --password '<password>' \
  --server-name prod-db.cluster-abc123.us-east-1.rds.amazonaws.com \
  --port 5432 \
  --database-name analytics \
  --kms-key-id "arn:aws:kms:us-east-1:123456789012:key/abc123" \
  --region us-east-1

If not specified, DMS uses the default aws/dms managed key. A customer-managed key enables cross-account access and CloudTrail audit logging.

Step 8 — CDC prerequisites

CDC (Change Data Capture) requires source-database-level configuration that is OUTSIDE DMS. See the Expert heuristic section and the references/cdc-prerequisites.md reference for per-engine details.

Engine Key prerequisite Verification command
PostgreSQL wal_level=logical, max_replication_slots >= 1 SHOW wal_level; SHOW max_replication_slots;
Oracle ARCHIVELOG mode, supplemental logging ARCHIVE LOG LIST; SELECT supplemental_log_data_min FROM v$database;
MySQL log_bin=ON, binlog_format=ROW, binlog_row_image=FULL SHOW VARIABLES LIKE 'log_bin'; SHOW VARIABLES LIKE 'binlog_format';
SQL Server SQL Server Agent running, CDC enabled SELECT name, is_cdc_enabled FROM sys.databases;
MongoDB Replica set (not standalone) rs.status()

Step 9 — Replication instance compatibility

The replication instance engine version must be compatible with the endpoint engine versions.

# Check available engine versions
aws dms describe-engine-versions \
  --region us-east-1

# Check replication instance
aws dms describe-replication-instances \
  --filters Name=replication-instance-id,Values=rep-instance-prod \
  --region us-east-1

Compatibility rules:

  • PostgreSQL 12+ requires DMS engine version 3.4.6+.
  • Oracle CDC with Binary Reader requires DMS engine version 3.4.4+.
  • MongoDB change streams requires DMS engine version 3.4.4+ and MongoDB 4.0+.
  • S3 target with Parquet requires DMS engine version 3.4.0+.

Step 10 — Recent features

2023-2026 DMS feature notes moved to references/advanced-patterns.md.

NEVER do these things

  1. NEVER skip CDC prerequisites on the source database. Creating the endpoint succeeds, but CDC tasks fail. PostgreSQL needs wal_level=logical. Oracle needs supplemental logging. SQL Server needs SQL Server Agent running. Always verify source prerequisites.

  2. NEVER use inline passwords in production. Use Secrets Manager for all endpoint credentials. Inline passwords are visible in CloudFormation/Terraform state and API call logs.

  3. NEVER use SSL mode require for production. require encrypts without certificate verification, allowing man-in-the-middle. Use verify-ca or verify-full with an imported certificate.

  4. NEVER skip extra connection attributes for engine-specific behavior. PostgreSQL CDC needs PluginName=pglogical. S3 target needs DataFormat=parquet. Oracle Binary Reader needs useLogminerReader=N. Defaults often do not match requirements.

  5. NEVER assume Secrets Manager rotation auto-updates the DMS endpoint. After rotation, the DMS endpoint must be re-tested to pick up the new password. Monitor for connection failures after rotation.

  6. NEVER create an endpoint without a replication instance. The endpoint connection test requires a replication instance to route through. Verify the instance exists and is in the correct VPC.

  7. NEVER use a standalone MongoDB instance for CDC. CDC requires a replica set. Standalone MongoDB only supports full load (no CDC).

  8. NEVER forget to check engine version compatibility. The replication instance engine version must support the endpoint engine. PostgreSQL 16 requires DMS 3.5.x. Check the compatibility matrix.

  9. NEVER use none SSL mode for any endpoint with sensitive data. All traffic is unencrypted. Use at minimum require (and ideally verify-full) for any production workload.

  10. NEVER assume extra connection attribute syntax errors are caught. Some engines silently ignore invalid attributes. Others fail the connection test. Always test-connection after creating the endpoint.

  11. NEVER reuse the same replication slot name across DMS tasks. PostgreSQL replication slots are exclusive. Two tasks using the same slot will conflict. Use unique slot names per task.

  12. NEVER skip the test-connection step. Always run test-connection after creating the endpoint and before creating the replication task. This catches credential, network, and SSL issues early.

Output format

DMS_ENDPOINT: <endpoint-identifier> (<engine-name>, <source|target>)
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
CHECKLIST:
  [✓|✗] Endpoint type: <source|target>
  [✓|✗] Engine: <engine-name> (port: <port>, database: <database-name>)
  [✓|✗] Server: <server-name>
  [✓|✗] Credentials: Secrets Manager (<secret-id>) | Inline (not recommended for production)
  [✓|✗] SSL mode: <none|require|verify-ca|verify-full> (certificate: <cert-arn> | N/A)
  [✓|✗] Extra connection attributes: <list of key=value pairs> | None
  [✓|✗] KMS key: <kms-key-arn> | Default DMS managed key
  [✓|✗] CDC prerequisites: MET (<engine-specific items>) | N/A (full load only)
  [✓|✗] Replication instance: <instance-id> (engine version: <version>, status: available)
  [✓|✗] Engine version compatibility: PASS
  [✓|✗] Connection test: PASS
  [✓|✗] Tags: <key=value list>
VERIFICATION_COMMANDS:
  aws dms describe-endpoints --filters Name=endpoint-id,Values=<endpoint-identifier> --region <region>
  aws dms test-connection --replication-instance-arn <instance-arn> --endpoint-arn <endpoint-arn> --region <region>

Worked example — PostgreSQL source endpoint with CDC

DMS_ENDPOINT: pg-source-prod (postgres, source)
VERDICT: READY_TO_DEPLOY
CHECKLIST:
  [✓] Endpoint type: source
  [✓] Engine: postgres (port: 5432, database: analytics)
  [✓] Server: prod-db.cluster-abc123.us-east-1.rds.amazonaws.com
  [✓] Credentials: Secrets Manager (arn:aws:secretsmanager:us-east-1:123456789012:secret:dms-pg-prod-abc123)
  [✓] SSL mode: verify-full (certificate: arn:aws:dms:us-east-1:123456789012:cert:prod-ca-cert)
  [✓] Extra connection attributes: PluginName=pglogical;slotName=dms_replication_slot
  [✓] KMS key: arn:aws:kms:us-east-1:123456789012:key/abc123
  [✓] CDC prerequisites: MET (wal_level=logical, max_replication_slots=5)
  [✓] Replication instance: rep-instance-prod (engine version: 3.5.2, status: available)
  [✓] Engine version compatibility: PASS (PostgreSQL 16 supported by DMS 3.5.x)
  [✓] Connection test: PASS
  [✓] Tags: Environment=production, MigrationType=cdc
VERIFICATION_COMMANDS:
  aws dms describe-endpoints --filters Name=endpoint-id,Values=pg-source-prod --region us-east-1
  aws dms test-connection --replication-instance-arn arn:aws:dms:us-east-1:123456789012:rep:rep-instance-prod --endpoint-arn arn:aws:dms:us-east-1:123456789012:endpoint:pg-source-prod --region us-east-1

Error handling

Failure-mode deep dives (connection timeout, replication slot, Oracle supplemental logging, SSL, Secrets Manager) moved to references/error-handling.md.

References (load on demand)

Domain

AWS CloudOps / AWS Database Migration Service (DMS) Endpoint Provisioning & Configuration.

AWS documentation

04 同仓库更多 Skills

jhkchan
jhkchan/aws-agent-skills

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 / method / 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 / 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 / EKS / 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.

★ 4
jhkchan
jhkchan/aws-agent-skills

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.

★ 4
jhkchan
jhkchan/aws-agent-skills

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 / 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.

★ 4
jhkchan
jhkchan/aws-agent-skills

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/API Gateway/CloudFront, or configuring CAPTCHA/Challenge 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.

★ 4
jhkchan
jhkchan/aws-agent-skills

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/bypass 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.

★ 4
jhkchan
jhkchan/aws-agent-skills

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.

★ 4