CrossAccountZoneDelegationRecord

class aws_cdk.aws_route53.CrossAccountZoneDelegationRecord(scope, id, *, delegated_zone, delegation_role, parent_hosted_zone_id=None, parent_hosted_zone_name=None, removal_policy=None, ttl=None)

Bases: aws_cdk.core.Construct

A Cross Account Zone Delegation record.

Parameters
  • scope (Construct) –

  • id (str) –

  • delegated_zone (IHostedZone) – The zone to be delegated.

  • delegation_role (IRole) – The delegation role in the parent account.

  • parent_hosted_zone_id (Optional[str]) – The hosted zone id in the parent account. Default: - no zone id

  • parent_hosted_zone_name (Optional[str]) – The hosted zone name in the parent account. Default: - no zone name

  • removal_policy (Optional[RemovalPolicy]) – The removal policy to apply to the record set. Default: RemovalPolicy.DESTROY

  • ttl (Optional[Duration]) – The resource record cache time to live (TTL). Default: Duration.days(2)

Methods

to_string()

Returns a string representation of this construct.

Return type

str

Attributes

node

The construct tree node associated with this construct.

Return type

ConstructNode

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool