# GlobalAcceleratorDomainTarget

Use a Global Accelerator domain name as an alias record target.

Extends: GlobalAcceleratorDomainTarget
Implements: IAliasRecordTarget
Superclass of: GlobalAcceleratorTarget

- Source: [`aws-route53-targets/lib/global-accelerator-target.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-route53-targets/lib/global-accelerator-target.ts#L11)
- Type last changed: v2.173.0 · 12 Dec 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53_targets as route53_targets } from 'aws-cdk-lib';

declare const aliasRecordTargetProps: route53_targets.IAliasRecordTargetProps;
const globalAcceleratorDomainTarget = new route53_targets.GlobalAcceleratorDomainTarget('acceleratorDomainName', /* all optional props */ aliasRecordTargetProps);
```

## Initializer

```ts
new GlobalAcceleratorDomainTarget(acceleratorDomainName: string, props?: IAliasRecordTargetProps)
```

## Properties

- `GLOBAL_ACCELERATOR_ZONE_ID`: string (static) — The hosted zone Id if using an alias record in Route53.

  This value never changes.
  Ref: https://docs.aws.amazon.com/general/latest/gr/global_accelerator.html

## Methods

- `bind(_record: IRecordSet, _zone?: IHostedZone): AliasRecordTargetConfig` — Return hosted zone ID and DNS name, usable for Route53 alias targets.
