Interface RecordSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RecordSetOptions
- All Known Implementing Classes:
RecordSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:44.297Z")
@Stability(Stable)
public interface RecordSetProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a RecordSet.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.route53.*;
CidrRoutingConfig cidrRoutingConfig;
GeoLocation geoLocation;
HealthCheck healthCheck;
HostedZone hostedZone;
RecordTarget recordTarget;
RecordSetProps recordSetProps = RecordSetProps.builder()
.recordType(RecordType.A)
.target(recordTarget)
.zone(hostedZone)
// the properties below are optional
.cidrRoutingConfig(cidrRoutingConfig)
.comment("comment")
.deleteExisting(false)
.geoLocation(geoLocation)
.healthCheck(healthCheck)
.multiValueAnswer(false)
.recordName("recordName")
.region("region")
.setIdentifier("setIdentifier")
.ttl(Duration.minutes(30))
.weight(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRecordSetPropsstatic final classAn implementation forRecordSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordSetProps.Builderbuilder()The record type.The target for this record, eitherRecordTarget.fromValues()orRecordTarget.fromAlias().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
-
getRecordType
The record type. -
getTarget
The target for this record, eitherRecordTarget.fromValues()orRecordTarget.fromAlias(). -
builder
- Returns:
- a
RecordSetProps.BuilderofRecordSetProps
-