Class AaaaRecordProps
Construction properties for a AaaaRecord.
Inheritance
System.Object
AaaaRecordProps
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.AWS.Route53.dll
Syntax (csharp)
public class AaaaRecordProps : Object, IAaaaRecordProps, IRecordSetOptions
Syntax (vb)
Public Class AaaaRecordProps
Inherits Object
Implements IAaaaRecordProps, IRecordSetOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.CloudFront;
HostedZone myZone;
CloudFrontWebDistribution distribution;
new AaaaRecord(this, "Alias", new AaaaRecordProps {
Zone = myZone,
Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))
});
Synopsis
Constructors
AaaaRecordProps() |
Properties
Comment | A comment to add on the record. |
RecordName | The domain name for this record. |
Target | The target. |
Ttl | The resource record cache time to live (TTL). |
Zone | The hosted zone in which to define the new record. |
Constructors
AaaaRecordProps()
public AaaaRecordProps()
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
Target
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