import { Value } from '../../../cloudformation/Value';
/**
  <em>Alias records only:</em> Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html">the AWS Docs</a>
*/
export interface AliasTargetProps {
    /** <p><strong>CloudFormation Fn::GetAtt intrinsic function</strong>: Use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html">Fn::GetAtt</a> intrinsic function to get the value of  */
    dNSName: Value<string>;
    /** <code>EvaluateTargetHealth</code>  <a name="cfn-route53-aliastarget-evaluatetargethealth"></a>
  
  Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets:: hen <code>EvaluateTargetHealth</code> is <code>true</code>, an alias resource record set inherits the health of the referenced AWS resource, such as an ELB load balancer or another resource record set in the hosted zone.<br />
  Note the following:<br />
  CloudFront distributions<br />
  You can’t set <code>EvaluateTargetHealth</code> to <code>true</code> when the alias target is a CloudFront distribution.<br />
  Elastic Beanstalk environments that have regionalized subdomains<br />
  If you specify an Elastic Beanstalk environment in <code>DNSName</code> and the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set <code>EvaluateTargetHealth</code> to <code>true</code> and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other available resources that are healthy, if any.<br />
  If the environment contains a single Amazon EC2 instance, there are no special requirements.<br />
  ELB load balancers<br />
  Health checking behavior depends on the type of load balancer: */
    evaluateTargetHealth?: Value<boolean>;
    /** <code>HostedZoneId</code>  <a name="cfn-route53-aliastarget-hostedzoneid"></a>
  
  Alias resource records sets only: The value used depends on where you want to route traffic:<br />
  Amazon API Gateway custom regional APIs and edge-optimized APIs<br />
  Specify the hosted zone ID for your API. You can get the applicable value using the AWS CLI command <a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-domain-names.html">get-domain-names</a>: */
    hostedZoneId: Value<string>;
}
