interface GrantDelegationOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.GrantDelegationOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#GrantDelegationOptions |
Java | software.amazon.awscdk.services.route53.GrantDelegationOptions |
Python | aws_cdk.aws_route53.GrantDelegationOptions |
TypeScript (source) | aws-cdk-lib » aws_route53 » GrantDelegationOptions |
Options for the delegation permissions granted.
Example
const parentZone = new route53.PublicHostedZone(this, 'HostedZone', {
zoneName: 'someexample.com',
});
declare const betaCrossAccountRole: iam.Role;
parentZone.grantDelegation(betaCrossAccountRole, {
delegatedZoneNames: ['beta.someexample.com'],
});
declare const prodCrossAccountRole: iam.Role;
parentZone.grantDelegation(prodCrossAccountRole, {
delegatedZoneNames: ['prod.someexample.com'],
});
Properties
| Name | Type | Description |
|---|---|---|
| delegated | string[] | List of hosted zone names to allow delegation to in the grant permissions. |
delegatedZoneNames?
Type:
string[]
(optional, default: the grant allows delegation to any hosted zone)
List of hosted zone names to allow delegation to in the grant permissions.
If the delegated zone name contains an unresolved token, it must resolve to a zone name that satisfies the requirements according to the documentation: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/specifying-conditions-route53.html#route53_rrset_conditionkeys_normalization
All letters must be lowercase. The DNS name must be without the trailing dot. Characters other than a–z, 0–9, - (hyphen), _ (underscore), and . (period, as a delimiter between labels) must use escape codes in the format \three-digit octal code. For example, \052 is the octal code for character *.

.NET
Go
Java
Python
TypeScript (