A mixed example making use of both an alpha L2 module, @aws-cdk/route53-resolver-alpha, which implements the DNS firewall feature of Route 53 Resolver, and aws-cdk-lib/route53-resolver.CfnResolverEndpoint.
Typescript only.
This:
sets up a VPC
deploys the DNS firewall with some basic rules to block example.com and example.net
Creates an inbound resolver to serve requests from inside the VPC
Creates an outbound resolver to serve requests from outside the VPC.
A mixed example making use of both an alpha L2 module,
@aws-cdk/route53-resolver-alpha
, which implements the DNS firewall feature of Route 53 Resolver, andaws-cdk-lib/route53-resolver.CfnResolverEndpoint
.Typescript only.
This:
example.com
andexample.net