Show / Hide Table of Contents

Class NsRecord

A DNS NS record.

Inheritance
object
Resource
RecordSet
NsRecord
Implements
IRecordSet
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
RecordSet.DomainName
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
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

string

Remarks

Resource: AWS::Route53::RecordSet

ExampleMetadata: infused

Implements

IRecordSet
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX