Tradhox_domain_settings/tradhoxdomain/tradhoxdomain_stack.py

16 lines
447 B
Python

from aws_cdk import (
Stack,
aws_route53 as route53,
)
from constructs import Construct
class TradhoxdomainStack(Stack):
def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
super().__init__(scope, construct_id, **kwargs)
# Create a Hosted Zone for tradhox.com
hosted_zone = route53.PublicHostedZone(
self, "TradhoxHostedZone",
zone_name="tradhox.com"
)