Class ZoneDelegationRecordProps
Construction properties for a ZoneDelegationRecord.
Inheritance
System.Object
ZoneDelegationRecordProps
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class ZoneDelegationRecordProps : Object, IZoneDelegationRecordProps, IRecordSetOptions
Syntax (vb)
Public Class ZoneDelegationRecordProps
Inherits Object
Implements IZoneDelegationRecordProps, IRecordSetOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;
using Amazon.CDK;
HostedZone hostedZone;
var zoneDelegationRecordProps = new ZoneDelegationRecordProps {
NameServers = new [] { "nameServers" },
Zone = hostedZone,
// the properties below are optional
Comment = "comment",
RecordName = "recordName",
Ttl = Duration.Minutes(30)
};
Synopsis
Constructors
ZoneDelegationRecordProps() |
Properties
Comment | A comment to add on the record. |
NameServers | The name servers to report in the delegation records. |
RecordName | The domain name for this record. |
Ttl | The resource record cache time to live (TTL). |
Zone | The hosted zone in which to define the new record. |
Constructors
ZoneDelegationRecordProps()
public ZoneDelegationRecordProps()
Properties
Comment
A comment to add on the record.
public string Comment { get; set; }
Property Value
System.String
Remarks
Default: no comment
NameServers
The name servers to report in the delegation records.
public string[] NameServers { get; set; }
Property Value
System.String[]
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)
Zone
The hosted zone in which to define the new record.
public IHostedZone Zone { get; set; }
Property Value