interface RecordSetProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Route53.RecordSetProps | 
|  Java | software.amazon.awscdk.services.route53.RecordSetProps | 
|  Python | aws_cdk.aws_route53.RecordSetProps | 
|  TypeScript (source) | @aws-cdk/aws-route53»RecordSetProps | 
Construction properties for a RecordSet.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as route53 from '@aws-cdk/aws-route53';
import * as cdk from '@aws-cdk/core';
declare const hostedZone: route53.HostedZone;
declare const recordTarget: route53.RecordTarget;
const recordSetProps: route53.RecordSetProps = {
  recordType: route53.RecordType.A,
  target: recordTarget,
  zone: hostedZone,
  // the properties below are optional
  comment: 'comment',
  recordName: 'recordName',
  ttl: cdk.Duration.minutes(30),
};
Properties
| Name | Type | Description | 
|---|---|---|
| record | Record | The record type. | 
| target | Record | The target for this record, either RecordTarget.fromValues()orRecordTarget.fromAlias(). | 
| zone | IHosted | The hosted zone in which to define the new record. | 
| comment? | string | A comment to add on the record. | 
| record | string | The domain name for this record. | 
| ttl? | Duration | The resource record cache time to live (TTL). | 
recordType
Type:
Record
The record type.
target
Type:
Record
The target for this record, either RecordTarget.fromValues() or RecordTarget.fromAlias().
zone
Type:
IHosted
The hosted zone in which to define the new record.
comment?
Type:
string
(optional, default: no comment)
A comment to add on the record.
recordName?
Type:
string
(optional, default: zone root)
The domain name for this record.
ttl?
Type:
Duration
(optional, default: Duration.minutes(30))
The resource record cache time to live (TTL).
