Interface TxtRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
TxtRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.049Z")
@Stability(Stable)
public interface TxtRecordProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a TxtRecord.
Example:
import software.amazon.awscdk.services.route53.*;
HostedZone zone;
AwsCustomResource verifyDomainIdentity = AwsCustomResource.Builder.create(this, "VerifyDomainIdentity")
.onCreate(AwsSdkCall.builder()
.service("SES")
.action("verifyDomainIdentity")
.parameters(Map.of(
"Domain", "example.com"))
.physicalResourceId(PhysicalResourceId.fromResponse("VerificationToken"))
.build())
.policy(AwsCustomResourcePolicy.fromSdkCalls(SdkCallsPolicyOptions.builder()
.resources(AwsCustomResourcePolicy.ANY_RESOURCE)
.build()))
.build();
TxtRecord.Builder.create(this, "SESVerificationRecord")
.zone(zone)
.recordName("_amazonses.example.com")
.values(List.of(verifyDomainIdentity.getResponseField("VerificationToken")))
.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
getComment, getRecordName, getTtl, getZone
-
Method Details
-
getValues
The text values. -
builder
- Returns:
- a
TxtRecordProps.BuilderofTxtRecordProps
-