Class NsRecord

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IResource, IRecordSet, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:15.233Z") @Stability(Stable) public class NsRecord extends RecordSet
A DNS NS record.

Example:

 HostedZone myZone;
 NsRecord.Builder.create(this, "NSRecord")
         .zone(myZone)
         .recordName("foo")
         .values(List.of("ns-1.awsdns.co.uk.", "ns-2.awsdns.com."))
         .ttl(Duration.minutes(90))
         .build();
 
  • Constructor Details

    • NsRecord

      protected NsRecord(software.amazon.jsii.JsiiObjectRef objRef)
    • NsRecord

      protected NsRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • NsRecord

      @Stability(Stable) public NsRecord(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NsRecordProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.