HostedZoneGrants

class aws_cdk.aws_route53.HostedZoneGrants(*args: Any, **kwargs)

Bases: object

Collection of grant methods for a INamedHostedZoneRef.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

# named_hosted_zone_ref: route53.INamedHostedZoneRef

hosted_zone_grants = route53.HostedZoneGrants.from_hosted_zone(named_hosted_zone_ref)

Methods

delegation(grantee, *, delegated_zone_names=None)

Grant permissions to add delegation records to this zone.

Parameters:
Return type:

Grant

Static Methods

classmethod from_hosted_zone(hosted_zone)

Creates grants for INamedHostedZoneRef.

Parameters:

hosted_zone (INamedHostedZoneRef)

Return type:

HostedZoneGrants