This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os.path import dirname, join, abspath | |
from my_keys import AWS_ACCOUNT_NUMBER, AWS_REGION | |
from constructs import Construct | |
from aws_cdk import App, CfnOutput, Environment, Stack, RemovalPolicy | |
from aws_cdk.aws_cloudfront_origins import S3Origin | |
from aws_cdk.aws_s3_deployment import BucketDeployment, Source | |
from aws_cdk.aws_route53 import HostedZone, ARecord, RecordTarget | |
from aws_cdk.aws_route53_targets import CloudFrontTarget | |
from aws_cdk.aws_certificatemanager import DnsValidatedCertificate |