Interface IHostedZone
Imported or created hosted zone.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHostedZone : IResource, INamedHostedZoneRef, IHostedZoneRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IHostedZone Inherits IResource, INamedHostedZoneRef, IHostedZoneRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Properties
| HostedZoneArn | ARN of this hosted zone, such as arn:\({Partition}:route53:::hostedzone/\){Id}. |
| HostedZoneId | ID of this hosted zone, such as "Z23ABC4XYZL05B". |
| HostedZoneNameServers | Returns the set of name servers for the specific hosted zone. For example: ns1.example.com. |
| ZoneName | FQDN of this hosted zone. |
Methods
| GrantDelegation(IGrantable, IGrantDelegationOptions?) | Grant permissions to add delegation records to this zone. |
Properties
HostedZoneArn
ARN of this hosted zone, such as arn:\({Partition}:route53:::hostedzone/\){Id}.
string HostedZoneArn { get; }
Property Value
Remarks
Attribute: true
HostedZoneId
ID of this hosted zone, such as "Z23ABC4XYZL05B".
string HostedZoneId { get; }
Property Value
Remarks
Attribute: true
HostedZoneNameServers
Returns the set of name servers for the specific hosted zone. For example: ns1.example.com.
string[]? HostedZoneNameServers { get; }
Property Value
string[]
Remarks
This attribute will be undefined for private hosted zones or hosted zones imported from another stack.
Attribute: true
ZoneName
Methods
GrantDelegation(IGrantable, IGrantDelegationOptions?)
Grant permissions to add delegation records to this zone.
Grant GrantDelegation(IGrantable grantee, IGrantDelegationOptions? options = null)
Parameters
- grantee IGrantable
- options IGrantDelegationOptions