Safe Haskell | None |
---|---|
Language | Haskell2010 |
AliasTarget is a property of the AWS::Route53::RecordSet resource. For more information about alias resource record sets, see Creating Alias Resource Record Sets in the Amazon Route 53 Developer Guide.
- data AliasTarget = AliasTarget {}
- aliasTarget :: Val Text -> Val Text -> AliasTarget
- atDNSName :: Lens' AliasTarget (Val Text)
- atEvaluateTargetHealth :: Lens' AliasTarget (Maybe (Val Bool'))
- atHostedZoneId :: Lens' AliasTarget (Val Text)
Documentation
data AliasTarget Source
Full data type definition for AliasTarget. See aliasTarget
for a more
convenient constructor.
Constructor for AliasTarget
containing required fields as arguments.
atDNSName :: Lens' AliasTarget (Val Text) Source
The DNS name of the load balancer, the domain name of the CloudFront distribution, the website endpoint of the Amazon S3 bucket, or another record set in the same hosted zone that is the target of the alias. Type: String
atEvaluateTargetHealth :: Lens' AliasTarget (Maybe (Val Bool')) Source
Whether Amazon Route 53 checks the health of the resource record sets in the alias target when responding to DNS queries. For more information about using this property, see EvaluateTargetHealth in the Amazon Route 53 API Reference. Type: Boolean
atHostedZoneId :: Lens' AliasTarget (Val Text) Source
The hosted zone ID. For load balancers, use the canonical hosted zone ID of the load balancer. For Amazon S3, use the hosted zone ID for your bucket's website endpoint. For CloudFront, use Z2FDTNDATAQYW2. For examples, see Example: Creating Alias Resource Record Sets in the Amazon Route 53 API Reference. Type: String