Show / Hide Table of Contents

Interface ICrossAccountZoneDelegationRecordProps

Construction properties for a CrossAccountZoneDelegationRecord.

Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICrossAccountZoneDelegationRecordProps
Syntax (vb)
Public Interface ICrossAccountZoneDelegationRecordProps
Remarks

ExampleMetadata: infused

Examples
var subZone = new PublicHostedZone(this, "SubZone", new PublicHostedZoneProps {
                ZoneName = "sub.someexample.com"
            });

            // import the delegation role by constructing the roleArn
            var delegationRoleArn = Stack.Of(this).FormatArn(new ArnComponents {
                Region = "",  // IAM is global in each partition
                Service = "iam",
                Account = "parent-account-id",
                Resource = "role",
                ResourceName = "MyDelegationRole"
            });
            var delegationRole = Role.FromRoleArn(this, "DelegationRole", delegationRoleArn);

            // create the record
            // create the record
            new CrossAccountZoneDelegationRecord(this, "delegate", new CrossAccountZoneDelegationRecordProps {
                DelegatedZone = subZone,
                ParentHostedZoneName = "someexample.com",  // or you can use parentHostedZoneId
                DelegationRole = delegationRole
            });

Synopsis

Properties

AssumeRoleRegion

Region from which to obtain temporary credentials.

DelegatedZone

The zone to be delegated.

DelegationRole

The delegation role in the parent account.

ParentHostedZoneId

The hosted zone id in the parent account.

ParentHostedZoneName

The hosted zone name in the parent account.

RemovalPolicy

The removal policy to apply to the record set.

Ttl

The resource record cache time to live (TTL).

Properties

AssumeRoleRegion

Region from which to obtain temporary credentials.

string? AssumeRoleRegion { get; }
Property Value

string

Remarks

Default: - the Route53 signing region in the current partition

DelegatedZone

The zone to be delegated.

IHostedZone DelegatedZone { get; }
Property Value

IHostedZone

Remarks

ExampleMetadata: infused

DelegationRole

The delegation role in the parent account.

IRoleRef DelegationRole { get; }
Property Value

IRoleRef

Remarks

ExampleMetadata: infused

ParentHostedZoneId

The hosted zone id in the parent account.

string? ParentHostedZoneId { get; }
Property Value

string

Remarks

Default: - no zone id

ParentHostedZoneName

The hosted zone name in the parent account.

string? ParentHostedZoneName { get; }
Property Value

string

Remarks

Default: - no zone name

RemovalPolicy

The removal policy to apply to the record set.

RemovalPolicy? RemovalPolicy { get; }
Property Value

RemovalPolicy?

Remarks

Default: RemovalPolicy.DESTROY

Ttl

The resource record cache time to live (TTL).

Duration? Ttl { get; }
Property Value

Duration

Remarks

Default: Duration.days(2)

Back to top Generated by DocFX