Interface ARecordAttrs
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RecordSetOptions
- All Known Implementing Classes:
ARecordAttrs.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:04.425Z")
@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 class
A builder forARecordAttrs
static final class
An implementation forARecordAttrs
-
Method Summary
Modifier and TypeMethodDescriptionstatic ARecordAttrs.Builder
builder()
Existing A record DNS name to set RecordTarget.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
-
getTargetDNS
Existing A record DNS name to set RecordTarget. -
builder
- Returns:
- a
ARecordAttrs.Builder
ofARecordAttrs
-