Interface ARecordAttrs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
ARecordAttrs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:44.145Z")
@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, 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
-