HostedZoneAttributes

class aws_cdk.aws_route53.HostedZoneAttributes(*, hosted_zone_id, zone_name)

Bases: object

Reference to a hosted zone.

Parameters
  • hosted_zone_id (str) – Identifier of the hosted zone.

  • zone_name (str) – Name of the hosted zone.

ExampleMetadata

infused

Example:

zone = route53.HostedZone.from_hosted_zone_attributes(self, "MyZone",
    zone_name="example.com",
    hosted_zone_id="ZOJJZC49E0EPZ"
)

Attributes

hosted_zone_id

Identifier of the hosted zone.

Return type

str

zone_name

Name of the hosted zone.

Return type

str