aliasTarget property

AliasTarget? aliasTarget
final

Alias resource record sets only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.

If you're creating resource records sets for a private hosted zone, note the following:

  • You can't create an alias resource record set in a private hosted zone to route traffic to a CloudFront distribution.
  • Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.
  • For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide.

Implementation

final AliasTarget? aliasTarget;