cdk-route53-apigateway-alias

Community

Fix CDK v2 Route53 API Gateway alias errors

Authorfreedomw1987
Version1.0.0
Installs0

System Documentation

What problem does it solve?

CDK v2 throws a TypeError when attempting to create a Route53 ARecord alias target for an API Gateway custom domain, as the aws_apigateway.DomainName construct lacks the required bind() method from the IAliasRecordTarget interface, breaking infrastructure as code deployments for this common AWS pattern.

Core Features & Use Cases

  • Tested Workaround Implementation: Provides a working low-level CfnRecordSet construct that replaces the broken high-level ARecord to create valid alias DNS records for API Gateway custom domains.
  • Compatibility Guidance: Includes notes on known CDK v2 version compatibility issues with alias targets and recommended stable library versions to avoid related errors.
  • Use Case: Developers building AWS serverless applications with API Gateway custom domains and Route53 DNS in CDK v2 can use this skill to resolve the binding error and successfully deploy their infrastructure.

Quick Start

Use this skill to implement a working Route53 A alias record for your CDK v2 API Gateway custom domain to resolve the bind() method deployment error.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cdk-route53-apigateway-alias
Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#cdk-route53-apigateway-alias

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.