AliasTarget class

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.

When creating resource record sets for a private hosted zone, note the following:

  • 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.

Constructors

AliasTarget({required String dNSName, required bool evaluateTargetHealth, required String hostedZoneId})
AliasTarget.fromXml(XmlElement elem)
factory

Properties

dNSName String
Alias resource record sets only: The value that you specify depends on where you want to route queries:
final
evaluateTargetHealth bool
Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: When EvaluateTargetHealth is true, 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.
final
hashCode int
The hash code for this object.
no setterinherited
hostedZoneId String
Alias resource records sets only: The value used depends on where you want to route traffic:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited