Class CrossAccountZoneDelegationRecord
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.route53.CrossAccountZoneDelegationRecord
- All Implemented Interfaces:
IConstruct
,IDependable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.007Z")
@Stability(Stable)
public class CrossAccountZoneDelegationRecord
extends 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 ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCrossAccountZoneDelegationRecord
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
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.
-