Class HostedZoneGrants
Collection of grant methods for a INamedHostedZoneRef.
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HostedZoneGrants : DeputyBase
Syntax (vb)
Public Class HostedZoneGrants Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
INamedHostedZoneRef namedHostedZoneRef;
var hostedZoneGrants = HostedZoneGrants.FromHostedZone(namedHostedZoneRef);
Synopsis
Methods
| Delegation(IGrantable, IGrantDelegationOptions?) | Grant permissions to add delegation records to this zone. |
| FromHostedZone(INamedHostedZoneRef) | Creates grants for INamedHostedZoneRef. |
Methods
Delegation(IGrantable, IGrantDelegationOptions?)
Grant permissions to add delegation records to this zone.
public virtual Grant Delegation(IGrantable grantee, IGrantDelegationOptions? delegationOptions = null)
Parameters
- grantee IGrantable
- delegationOptions IGrantDelegationOptions
Returns
Remarks
ExampleMetadata: fixture=_generated
FromHostedZone(INamedHostedZoneRef)
Creates grants for INamedHostedZoneRef.
public static HostedZoneGrants FromHostedZone(INamedHostedZoneRef hostedZone)
Parameters
- hostedZone INamedHostedZoneRef
Returns
Remarks
ExampleMetadata: fixture=_generated