Class Route53RecordTarget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.targets.Route53RecordTarget
- All Implemented Interfaces:
IAliasRecordTarget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:04.793Z")
@Stability(Stable)
public class Route53RecordTarget
extends software.amazon.jsii.JsiiObject
implements IAliasRecordTarget
Use another Route 53 record as an alias record target.
Example:
HostedZone zone; ARecord record; ARecord.Builder.create(this, "AliasRecord") .zone(zone) .target(RecordTarget.fromAlias(new Route53RecordTarget(record))) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.route53.IAliasRecordTarget
IAliasRecordTarget.Jsii$Default, IAliasRecordTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionRoute53RecordTarget
(IRecordSet record) protected
Route53RecordTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Route53RecordTarget
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(IRecordSet _record) Return hosted zone ID and DNS name, usable for Route53 alias targets.bind
(IRecordSet _record, IHostedZone zone) Return hosted zone ID and DNS name, usable for Route53 alias targets.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Route53RecordTarget
protected Route53RecordTarget(software.amazon.jsii.JsiiObjectRef objRef) -
Route53RecordTarget
protected Route53RecordTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Route53RecordTarget
- Parameters:
record
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public AliasRecordTargetConfig bind(@NotNull IRecordSet _record, @Nullable IHostedZone zone) Return hosted zone ID and DNS name, usable for Route53 alias targets.- Specified by:
bind
in interfaceIAliasRecordTarget
- Parameters:
_record
- This parameter is required.zone
-
-
bind
Return hosted zone ID and DNS name, usable for Route53 alias targets.- Specified by:
bind
in interfaceIAliasRecordTarget
- Parameters:
_record
- This parameter is required.
-