20 lines
671 B
TypeScript
20 lines
671 B
TypeScript
import type { GrantDelegationOptions, INamedHostedZoneRef } from './hosted-zone-ref';
|
|
import type { IGrantable } from '../../aws-iam';
|
|
import type { Grant } from '../../aws-iam/lib/grant';
|
|
/**
|
|
* Collection of grant methods for a INamedHostedZoneRef
|
|
*/
|
|
export declare class HostedZoneGrants {
|
|
private readonly hostedZone;
|
|
/**
|
|
* Creates grants for INamedHostedZoneRef
|
|
*
|
|
*/
|
|
static fromHostedZone(hostedZone: INamedHostedZoneRef): HostedZoneGrants;
|
|
private constructor();
|
|
/**
|
|
* Grant permissions to add delegation records to this zone
|
|
*/
|
|
delegation(grantee: IGrantable, delegationOptions?: GrantDelegationOptions): Grant;
|
|
}
|