GrantDelegationOptions
- class aws_cdk.aws_route53.GrantDelegationOptions(*, delegated_zone_names=None)
Bases:
objectOptions for the delegation permissions granted.
- Parameters:
delegated_zone_names (
Optional[Sequence[str]]) – List of hosted zone names to allow delegation to in the grant permissions. If the delegated zone name contains an unresolved token, it must resolve to a zone name that satisfies the requirements according to the documentation: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/specifying-conditions-route53.html#route53_rrset_conditionkeys_normalization .. epigraph:: All letters must be lowercase. The DNS name must be without the trailing dot. Characters other than a–z, 0–9, - (hyphen), _ (underscore), and . (period, as a delimiter between labels) must use escape codes in the format three-digit octal code. For example, 052 is the octal code for character *. Default: the grant allows delegation to any hosted zone- ExampleMetadata:
infused
Example:
# beta_cross_account_role: iam.Role # prod_cross_account_role: iam.Role parent_zone = route53.PublicHostedZone(self, "HostedZone", zone_name="someexample.com" ) parent_zone.grant_delegation(beta_cross_account_role, delegated_zone_names=["beta.someexample.com"] ) parent_zone.grant_delegation(prod_cross_account_role, delegated_zone_names=["prod.someexample.com"] )
Attributes
- delegated_zone_names
List of hosted zone names to allow delegation to in the grant permissions.
If the delegated zone name contains an unresolved token, it must resolve to a zone name that satisfies the requirements according to the documentation: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/specifying-conditions-route53.html#route53_rrset_conditionkeys_normalization .. epigraph:
All letters must be lowercase. The DNS name must be without the trailing dot. Characters other than a–z, 0–9, - (hyphen), _ (underscore), and . (period, as a delimiter between labels) must use escape codes in the format \three-digit octal code. For example, \052 is the octal code for character *.
- Default:
the grant allows delegation to any hosted zone