Class NsRecord
A DNS NS record.
Inherited Members
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NsRecord : RecordSet, IRecordSet, IResource
Syntax (vb)
Public Class NsRecord
Inherits RecordSet
Implements IRecordSet, IResource
Remarks
Resource: AWS::Route53::RecordSet
ExampleMetadata: infused
Examples
HostedZone myZone;
new NsRecord(this, "NSRecord", new NsRecordProps {
Zone = myZone,
RecordName = "foo",
Values = new [] { "ns-1.awsdns.co.uk.", "ns-2.awsdns.com." },
Ttl = Duration.Minutes(90)
});
Synopsis
Constructors
NsRecord(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
NsRecord(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
NsRecord(Construct, String, INsRecordProps) |
Constructors
NsRecord(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected NsRecord(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
NsRecord(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected NsRecord(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
NsRecord(Construct, String, INsRecordProps)
public NsRecord(Construct scope, string id, INsRecordProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props INsRecordProps
Implements
Constructs.IConstruct
Constructs.IDependable