Interface TxtRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
TxtRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:29.057Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTxtRecordPropsstatic final classAn implementation forTxtRecordProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getCidrRoutingConfig, getComment, getDeleteExisting, getGeoLocation, getHealthCheck, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getValues
The text values. -
builder
- Returns:
- a
TxtRecordProps.BuilderofTxtRecordProps
-