stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.AliasTarget

Description

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.

Synopsis

Documentation

data AliasTarget Source #

Full data type definition for AliasTarget. See aliasTarget for a more convenient constructor.

Instances

Show AliasTarget Source # 
Generic AliasTarget Source # 

Associated Types

type Rep AliasTarget :: * -> * #

ToJSON AliasTarget Source # 
FromJSON AliasTarget Source # 
type Rep AliasTarget Source # 
type Rep AliasTarget = D1 (MetaData "AliasTarget" "Stratosphere.ResourceProperties.AliasTarget" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "AliasTarget" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aliasTargetDNSName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aliasTargetEvaluateTargetHealth") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) (S1 (MetaSel (Just Symbol "_aliasTargetHostedZoneId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))))))

aliasTarget Source #

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