HostedZoneProviderProps

class aws_cdk.aws_route53.HostedZoneProviderProps(*, domain_name, private_zone=None, vpc_id=None)

Bases: object

Zone properties for looking up the Hosted Zone.

Parameters
  • domain_name (str) – The zone domain e.g. example.com.

  • private_zone (Optional[bool]) – Whether the zone that is being looked up is a private hosted zone. Default: false

  • vpc_id (Optional[str]) – Specifies the ID of the VPC associated with a private hosted zone. If a VPC ID is provided and privateZone is false, no results will be returned and an error will be raised Default: - No VPC ID

Attributes

domain_name

The zone domain e.g. example.com.

Return type

str

private_zone

Whether the zone that is being looked up is a private hosted zone.

Default

false

Return type

Optional[bool]

vpc_id

Specifies the ID of the VPC associated with a private hosted zone.

If a VPC ID is provided and privateZone is false, no results will be returned and an error will be raised

Default
  • No VPC ID

Return type

Optional[str]