Class HostedZoneGrants

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.HostedZoneGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T10:47:28.596Z") @Stability(Stable) public class HostedZoneGrants extends software.amazon.jsii.JsiiObject
Collection of grant methods for a INamedHostedZoneRef.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53.*;
 INamedHostedZoneRef namedHostedZoneRef;
 HostedZoneGrants hostedZoneGrants = HostedZoneGrants.fromHostedZone(namedHostedZoneRef);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    HostedZoneGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    HostedZoneGrants(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Grant permissions to add delegation records to this zone.
    delegation(IGrantable grantee, GrantDelegationOptions delegationOptions)
    Grant permissions to add delegation records to this zone.
    Creates grants for INamedHostedZoneRef.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • HostedZoneGrants

      protected HostedZoneGrants(software.amazon.jsii.JsiiObjectRef objRef)
    • HostedZoneGrants

      protected HostedZoneGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromHostedZone

      @Stability(Stable) @NotNull public static HostedZoneGrants fromHostedZone(@NotNull INamedHostedZoneRef hostedZone)
      Creates grants for INamedHostedZoneRef.

      Parameters:
      hostedZone - This parameter is required.
    • delegation

      @Stability(Stable) @NotNull public Grant delegation(@NotNull IGrantable grantee, @Nullable GrantDelegationOptions delegationOptions)
      Grant permissions to add delegation records to this zone.

      Parameters:
      grantee - This parameter is required.
      delegationOptions -
    • delegation

      @Stability(Stable) @NotNull public Grant delegation(@NotNull IGrantable grantee)
      Grant permissions to add delegation records to this zone.

      Parameters:
      grantee - This parameter is required.