interface NsRecordProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53.NsRecordProps |
![]() | software.amazon.awscdk.services.route53.NsRecordProps |
![]() | aws_cdk.aws_route53.NsRecordProps |
![]() | @aws-cdk/aws-route53 » NsRecordProps |
Construction properties for a NSRecord.
Example
declare const myZone: route53.HostedZone;
new route53.NsRecord(this, 'NSRecord', {
zone: myZone,
recordName: 'foo',
values: [
'ns-1.awsdns.co.uk.',
'ns-2.awsdns.com.',
],
ttl: Duration.minutes(90), // Optional - default is 30 minutes
});
Properties
Name | Type | Description |
---|---|---|
values | string[] | The NS values. |
zone | IHosted | The hosted zone in which to define the new record. |
comment? | string | A comment to add on the record. |
record | string | The domain name for this record. |
ttl? | Duration | The resource record cache time to live (TTL). |
values
Type:
string[]
The NS values.
zone
Type:
IHosted
The hosted zone in which to define the new record.
comment?
Type:
string
(optional, default: no comment)
A comment to add on the record.
recordName?
Type:
string
(optional, default: zone root)
The domain name for this record.
ttl?
Type:
Duration
(optional, default: Duration.minutes(30))
The resource record cache time to live (TTL).