Interface GrantDelegationOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GrantDelegationOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-17T14:40:59.531Z") @Stability(Stable) public interface GrantDelegationOptions extends software.amazon.jsii.JsiiSerializable
Options for the delegation permissions granted.

Example:

 Role betaCrossAccountRole;
 Role prodCrossAccountRole;
 PublicHostedZone parentZone = PublicHostedZone.Builder.create(this, "HostedZone")
         .zoneName("someexample.com")
         .build();
 parentZone.grantDelegation(betaCrossAccountRole, GrantDelegationOptions.builder()
         .delegatedZoneNames(List.of("beta.someexample.com"))
         .build());
 parentZone.grantDelegation(prodCrossAccountRole, GrantDelegationOptions.builder()
         .delegatedZoneNames(List.of("prod.someexample.com"))
         .build());
 
  • Method Details

    • getDelegatedZoneNames

      @Stability(Stable) @Nullable default List<String> getDelegatedZoneNames()
      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

      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

    • builder

      @Stability(Stable) static GrantDelegationOptions.Builder builder()
      Returns:
      a GrantDelegationOptions.Builder of GrantDelegationOptions