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, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class NsRecord Inherits RecordSet Implements IRecordSet, IResource, IConstruct, IDependable, IEnvironmentAware
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(Construct, string, INsRecordProps) | A DNS NS record. |
Properties
| PROPERTY_INJECTION_ID | Uniquely identifies this class. |
Constructors
NsRecord(Construct, string, INsRecordProps)
A DNS NS record.
public NsRecord(Construct scope, string id, INsRecordProps props)
Parameters
- scope Construct
- id string
- props INsRecordProps
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)
});
Properties
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Resource: AWS::Route53::RecordSet
ExampleMetadata: infused
Implements
Constructs.IConstruct
Constructs.IDependable