Interface TxtRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RecordSetOptions
- All Known Implementing Classes:
TxtRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:04.545Z")
@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 class
A builder forTxtRecordProps
static final class
An implementation forTxtRecordProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getComment, getDeleteExisting, getGeoLocation, getHealthCheck, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getValues
The text values. -
builder
- Returns:
- a
TxtRecordProps.Builder
ofTxtRecordProps
-