Class NsRecordProps
Construction properties for a NSRecord.
Inheritance
System.Object
NsRecordProps
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class NsRecordProps : Object, INsRecordProps, IRecordSetOptions
Syntax (vb)
Public Class NsRecordProps
Inherits Object
Implements INsRecordProps, IRecordSetOptions
Remarks
ExampleMetadata: infused
Examples
HostedZone myZone;
new NsRecord(this, "NSRecord", new NsRecordProps {
Zone = myZone,
RecordName = "foo",
Values = new [] { "ns-1.awsdns.co.uk.", "ns-2.awsdns.com." },
Ttl = Duration.Minutes(90)
});
Synopsis
Constructors
NsRecordProps() |
Properties
Comment | A comment to add on the record. |
RecordName | The domain name for this record. |
Ttl | The resource record cache time to live (TTL). |
Values | The NS values. |
Zone | The hosted zone in which to define the new record. |
Constructors
NsRecordProps()
public NsRecordProps()
Properties
Comment
A comment to add on the record.
public string Comment { get; set; }
Property Value
System.String
Remarks
Default: no comment
RecordName
The domain name for this record.
public string RecordName { get; set; }
Property Value
System.String
Remarks
Default: zone root
Ttl
The resource record cache time to live (TTL).
public Duration Ttl { get; set; }
Property Value
Remarks
Default: Duration.minutes(30)
Values
The NS values.
public string[] Values { get; set; }
Property Value
System.String[]
Zone
The hosted zone in which to define the new record.
public IHostedZone Zone { get; set; }
Property Value