In this example we will create a Route 53 hosted zone and STS role in account A. In account B we will use CDK to create a CloudFront distribution with a custom alternate DNS name. Then using a CDK custom resource we will assume the role in account B to add the domain name to the Route 53 hosted zone.
ReadThis repo contains a reference architecture for using CodeDeploy linear deployment to incrementally shift traffic from an old Lambda version to a new one. This is commonly referred to a Blue/Green deployment and allows a new version to be tested with a small amount of traffic before being released to all users.
Read