Interface TxtRecordProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, RecordSetOptions
All Known Implementing Classes:
TxtRecordProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:13.034Z") @Stability(Stable) public interface TxtRecordProps extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a TxtRecord.

Example:

 HostedZone myZone;
 TxtRecord.Builder.create(this, "TXTRecord")
         .zone(myZone)
         .recordName("_foo") // If the name ends with a ".", it will be used as-is;
         // if it ends with a "." followed by the zone name, a trailing "." will be added automatically;
         // otherwise, a ".", the zone name, and a trailing "." will be added automatically.
         // Defaults to zone root if not specified.
         .values(List.of("Bar!", "Baz?"))
         .ttl(Duration.minutes(90))
         .build();