Class NsRecord

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.032Z") @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.