Interface IHostedZone
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IHostedZoneRef,INamedHostedZoneRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IHostedZone.Jsii$Default,IPrivateHostedZone,IPrivateHostedZone.Jsii$Default,IPublicHostedZone,IPublicHostedZone.Jsii$Default
- All Known Implementing Classes:
HostedZone,IHostedZone.Jsii$Proxy,IPrivateHostedZone.Jsii$Proxy,IPublicHostedZone.Jsii$Proxy,PrivateHostedZone,PublicHostedZone
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:44.268Z")
@Stability(Stable)
public interface IHostedZone
extends software.amazon.jsii.JsiiSerializable, IResource, INamedHostedZoneRef
Imported or created hosted zone.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIHostedZone.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiongetEnv()The environment this resource belongs to.ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}.ID of this hosted zone, such as "Z23ABC4XYZL05B".Returns the set of name servers for the specific hosted zone.software.constructs.NodegetNode()The tree node.FQDN of this hosted zone.grantDelegation(IGrantable grantee) Grant permissions to add delegation records to this zone.grantDelegation(IGrantable grantee, GrantDelegationOptions options) Grant permissions to add delegation records to this zone.Methods inherited from interface software.amazon.awscdk.interfaces.route53.IHostedZoneRef
getHostedZoneRefMethods inherited from interface software.amazon.awscdk.services.route53.INamedHostedZoneRef
getNameMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHostedZoneArn
ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}. -
getHostedZoneId
ID of this hosted zone, such as "Z23ABC4XYZL05B". -
getZoneName
FQDN of this hosted zone. -
getHostedZoneNameServers
Returns the set of name servers for the specific hosted zone. For example: ns1.example.com.This attribute will be undefined for private hosted zones or hosted zones imported from another stack.
-
grantDelegation
@Stability(Stable) @NotNull Grant grantDelegation(@NotNull IGrantable grantee, @Nullable GrantDelegationOptions options) Grant permissions to add delegation records to this zone.- Parameters:
grantee- This parameter is required.options-
-
grantDelegation
Grant permissions to add delegation records to this zone.- Parameters:
grantee- This parameter is required.
-
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-