Interface ARecordAttrs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
ARecordAttrs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:04:01.122Z")
@Stability(Stable)
public interface ARecordAttrs
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties to import existing ARecord as target.
Example:
HostedZone myZone;
String targetRecord = "existing.record.cdk.local";
ARecord record = ARecord.fromARecordAttributes(this, "A", ARecordAttrs.builder()
.zone(myZone)
.recordName("test")
.targetDNS(targetRecord)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forARecordAttrsstatic final classAn implementation forARecordAttrs -
Method Summary
Modifier and TypeMethodDescriptionstatic ARecordAttrs.Builderbuilder()Existing A record DNS name to set RecordTarget.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getCidrRoutingConfig, getComment, getDeleteExisting, getFailover, getGeoLocation, getHealthCheck, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getTargetDNS
Existing A record DNS name to set RecordTarget. -
builder
- Returns:
- a
ARecordAttrs.BuilderofARecordAttrs
-