Class CrossAccountZoneDelegationRecord

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.route53.CrossAccountZoneDelegationRecord
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:23.874Z") @Stability(Stable) public class CrossAccountZoneDelegationRecord extends software.constructs.Construct
A Cross Account Zone Delegation record.

Example:

 PublicHostedZone subZone = PublicHostedZone.Builder.create(this, "SubZone")
         .zoneName("sub.someexample.com")
         .build();
 // import the delegation role by constructing the roleArn
 String delegationRoleArn = Stack.of(this).formatArn(ArnComponents.builder()
         .region("") // IAM is global in each partition
         .service("iam")
         .account("parent-account-id")
         .resource("role")
         .resourceName("MyDelegationRole")
         .build());
 IRole delegationRole = Role.fromRoleArn(this, "DelegationRole", delegationRoleArn);
 // create the record
 // create the record
 CrossAccountZoneDelegationRecord.Builder.create(this, "delegate")
         .delegatedZone(subZone)
         .parentHostedZoneName("someexample.com") // or you can use parentHostedZoneId
         .delegationRole(delegationRole)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for CrossAccountZoneDelegationRecord.

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

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.constructs.IConstruct

    software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CrossAccountZoneDelegationRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    CrossAccountZoneDelegationRecord(software.amazon.jsii.JsiiObjectRef objRef)
     
     
    CrossAccountZoneDelegationRecord(software.constructs.Construct scope, String id, CrossAccountZoneDelegationRecordProps props)
     
  • Method Summary

    Methods inherited from class software.constructs.Construct

    getNode, isConstruct, toString

    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, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • CrossAccountZoneDelegationRecord

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

      protected CrossAccountZoneDelegationRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CrossAccountZoneDelegationRecord

      @Stability(Stable) public CrossAccountZoneDelegationRecord(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CrossAccountZoneDelegationRecordProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.