Class GlobalAcceleratorTarget

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.871Z") @Stability(Stable) public class GlobalAcceleratorTarget extends GlobalAcceleratorDomainTarget
Use a Global Accelerator instance domain name as an alias record target.

Example:

 import software.amazon.awscdk.services.globalaccelerator.*;
 HostedZone zone;
 Accelerator accelerator;
 ARecord.Builder.create(this, "AliasRecord")
         .zone(zone)
         .target(RecordTarget.fromAlias(new GlobalAcceleratorTarget(accelerator)))
         .build();
 
  • Constructor Details

    • GlobalAcceleratorTarget

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

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

      @Stability(Stable) public GlobalAcceleratorTarget(@NotNull IAccelerator accelerator)
      Create an Alias Target for a Global Accelerator instance.

      Parameters:
      accelerator - This parameter is required.