class GlobalAcceleratorDomainTarget
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.Targets.GlobalAcceleratorDomainTarget |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53targets#GlobalAcceleratorDomainTarget |
Java | software.amazon.awscdk.services.route53.targets.GlobalAcceleratorDomainTarget |
Python | aws_cdk.aws_route53_targets.GlobalAcceleratorDomainTarget |
TypeScript (source) | aws-cdk-lib » aws_route53_targets » GlobalAcceleratorDomainTarget |
Implements
IAlias
Use a Global Accelerator domain name as an alias record target.
Example
// 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
new GlobalAcceleratorDomainTarget(acceleratorDomainName: string, props?: IAliasRecordTargetProps)
Parameters
- acceleratorDomainName
string - props
IAliasRecord Target Props
Create an Alias Target for a Global Accelerator domain name.
Properties
| Name | Type | Description |
|---|---|---|
| static GLOBAL_ACCELERATOR_ZONE_ID | string | The hosted zone Id if using an alias record in Route53. |
static GLOBAL_ACCELERATOR_ZONE_ID
Type:
string
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
| Name | Description |
|---|---|
| bind(_record, _zone?) | Return hosted zone ID and DNS name, usable for Route53 alias targets. |
bind(_record, _zone?)
public bind(_record: IRecordSet, _zone?: IHostedZone): AliasRecordTargetConfig
Parameters
- _record
IRecordSet - _zone
IHostedZone
Returns
Return hosted zone ID and DNS name, usable for Route53 alias targets.

.NET
Go
Java
Python
TypeScript (