Class RecordSetOptions
Options for a RecordSet.
Inheritance
System.Object
RecordSetOptions
Implements
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class RecordSetOptions : Object, IRecordSetOptions
Syntax (vb)
Public Class RecordSetOptions
Inherits Object
Implements 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 recordSetOptions = new RecordSetOptions {
Zone = hostedZone,
// the properties below are optional
Comment = "comment",
RecordName = "recordName",
Ttl = Duration.Minutes(30)
};
Synopsis
Constructors
RecordSetOptions() |
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). |
Zone | The hosted zone in which to define the new record. |
Constructors
RecordSetOptions()
public RecordSetOptions()
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)
Zone
The hosted zone in which to define the new record.
public IHostedZone Zone { get; set; }
Property Value