Interface IRecordSetOptions
Options for a RecordSet.
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public interface IRecordSetOptions
Syntax (vb)
Public Interface 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
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. |
Properties
Comment
A comment to add on the record.
virtual string Comment { get; }
Property Value
System.String
Remarks
Default: no comment
RecordName
The domain name for this record.
virtual string RecordName { get; }
Property Value
System.String
Remarks
Default: zone root
Ttl
The resource record cache time to live (TTL).
virtual Duration Ttl { get; }
Property Value
Remarks
Default: Duration.minutes(30)
Zone
The hosted zone in which to define the new record.
IHostedZone Zone { get; }
Property Value