@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.678Z") @Stability(value=Stable) public class TxtRecord extends RecordSet
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
TxtRecord.Builder
A fluent builder for
TxtRecord. |
software.amazon.jsii.JsiiObject.InitializationModeIRecordSet.Jsii$Default, IRecordSet.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
TxtRecord(software.constructs.Construct scope,
String id,
TxtRecordProps props) |
protected |
TxtRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TxtRecord(software.amazon.jsii.JsiiObjectRef objRef) |
getDomainNameapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected TxtRecord(software.amazon.jsii.JsiiObjectRef objRef)
protected TxtRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public TxtRecord(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
TxtRecordProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.