Class RecordSet
A record set.
Inheritance
System.Object
RecordSet
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RecordSet : Resource, IRecordSet, IResource
Syntax (vb)
Public Class RecordSet
Inherits Resource
Implements IRecordSet, IResource
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;
using Amazon.CDK.AWS.Route53;
GeoLocation geoLocation;
HostedZone hostedZone;
RecordTarget recordTarget;
var recordSet = new RecordSet(this, "MyRecordSet", new RecordSetProps {
RecordType = RecordType.A,
Target = recordTarget,
Zone = hostedZone,
// the properties below are optional
Comment = "comment",
DeleteExisting = false,
GeoLocation = geoLocation,
MultiValueAnswer = false,
RecordName = "recordName",
Region = "region",
SetIdentifier = "setIdentifier",
Ttl = Duration.Minutes(30),
Weight = 123
});
Synopsis
Constructors
RecordSet(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RecordSet(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
RecordSet(Construct, String, IRecordSetProps) |
Properties
DomainName | The domain name of the record. |
Constructors
RecordSet(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RecordSet(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RecordSet(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RecordSet(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
RecordSet(Construct, String, IRecordSetProps)
public RecordSet(Construct scope, string id, IRecordSetProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IRecordSetProps
Properties
DomainName
The domain name of the record.
public virtual string DomainName { get; }
Property Value
System.String
Implements
Constructs.IConstruct
Constructs.IDependable