MCPcopy Create free account
hub / github.com/aws-samples/aws-cdk-examples / HostedZoneStack

Class HostedZoneStack

python/route53-failover/hosted_zone_stack.py:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7class HostedZoneStack(Stack):
8 def __init__(self, scope: Construct, construct_id: str, domain: str, **kwargs) -> None:
9 super().__init__(scope, construct_id, **kwargs)
10
11 # Test Env
12 self.zone = route53.PublicHostedZone(self, "HostedZone", zone_name=domain)
13 # use below code to use already created hosted zone
14 # self.hostzone = route53.HostedZone.from_lookup(self, "HostedZone", domain_name=domain)

Callers 1

app.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected