Class ClassicLoadBalancerTarget

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.targets.ClassicLoadBalancerTarget
All Implemented Interfaces:
IAliasRecordTarget, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.866Z") @Stability(Stable) public class ClassicLoadBalancerTarget extends software.amazon.jsii.JsiiObject implements IAliasRecordTarget
Use a classic ELB as an alias record target.

Example:

 import software.amazon.awscdk.services.elasticloadbalancing.*;
 HostedZone zone;
 LoadBalancer lb;
 ARecord.Builder.create(this, "AliasRecord")
         .zone(zone)
         .target(RecordTarget.fromAlias(new ClassicLoadBalancerTarget(lb)))
         .build();
 
  • Constructor Details

    • ClassicLoadBalancerTarget

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

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

      @Stability(Stable) public ClassicLoadBalancerTarget(@NotNull LoadBalancer loadBalancer)
      Parameters:
      loadBalancer - This parameter is required.
  • Method Details