PublicHostedZoneAttributes
- class aws_cdk.aws_route53.PublicHostedZoneAttributes(*, hosted_zone_id, zone_name)
 Bases:
HostedZoneAttributesReference to a public hosted zone.
- Parameters:
 hosted_zone_id (
str) – Identifier of the hosted zone.zone_name (
str) – Name of the hosted zone.
- ExampleMetadata:
 infused
Example:
zone_from_attributes = route53.PublicHostedZone.from_public_hosted_zone_attributes(self, "MyZone", zone_name="example.com", hosted_zone_id="ZOJJZC49E0EPZ" ) # Does not know zoneName zone_from_id = route53.PublicHostedZone.from_public_hosted_zone_id(self, "MyZone", "ZOJJZC49E0EPZ")
Attributes
- hosted_zone_id
 Identifier of the hosted zone.
- zone_name
 Name of the hosted zone.