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.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.874Z") @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();
 
  • Constructor Details

    • Route53RecordTarget

      protected Route53RecordTarget(software.amazon.jsii.JsiiObjectRef objRef)
    • Route53RecordTarget

      protected Route53RecordTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Route53RecordTarget

      @Stability(Stable) public Route53RecordTarget(@NotNull IRecordSet record)
      Parameters:
      record - This parameter is required.
  • Method Details