PrivateHostedZoneProps

class aws_cdk.aws_route53.PrivateHostedZoneProps(*, zone_name, add_trailing_dot=None, comment=None, query_logs_log_group_arn=None, vpc)

Bases: CommonHostedZoneProps

Properties to create a Route 53 private hosted zone.

Parameters:
  • zone_name (str) – The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name.

  • add_trailing_dot (Optional[bool]) – Whether to add a trailing dot to the zone name. Default: true

  • comment (Optional[str]) – Any comments that you want to include about the hosted zone. Default: none

  • query_logs_log_group_arn (Optional[str]) – The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to. Default: disabled

  • vpc (IVpc) – A VPC that you want to associate with this hosted zone. Private hosted zones must be associated with at least one VPC. You can associated additional VPCs using addVpc(vpc).

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc


zone = route53.PrivateHostedZone(self, "HostedZone",
    zone_name="fully.qualified.domain.com",
    vpc=vpc
)

Attributes

add_trailing_dot

Whether to add a trailing dot to the zone name.

Default:

true

comment

Any comments that you want to include about the hosted zone.

Default:

none

query_logs_log_group_arn

The Amazon Resource Name (ARN) for the log group that you want Amazon Route 53 to send query logs to.

Default:

disabled

vpc

A VPC that you want to associate with this hosted zone.

Private hosted zones must be associated with at least one VPC. You can associated additional VPCs using addVpc(vpc).

zone_name

The name of the domain.

For resource record types that include a domain name, specify a fully qualified domain name.