awsblog-building-resilient-applications/multi-region/2-arc-stack/stack-r53arc.yml [867:919]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  RecordSetWeighted1A:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameA
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}a"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1A

  RecordSetWeighted1B:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameB
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}b"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1B

  RecordSetWeighted1C:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameC
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}c"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1C
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



awsblog-building-resilient-applications/single-region/2-arc-stack/stack-r53arc.yml [383:435]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  RecordSetWeighted1A:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameA
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}a"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1A

  RecordSetWeighted1B:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameB
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}b"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1B

  RecordSetWeighted1C:
    Type: AWS::Route53::RecordSet
    Properties:
      AliasTarget:
        DNSName: !Ref Region1ElbDnsNameC
        EvaluateTargetHealth: true
        HostedZoneId: !Ref Region1ElbCanonicalHostedZoneId
      Weight: 1
      HostedZoneId: !Ref HostedZone
      Name: !Sub 
        - r1w-${FrontEndURL}
        - FrontEndURL: !FindInMap [StaticParameters, StaticParameters, FrontEndURL]
      SetIdentifier: !Sub 
          - "${Region1}c"
          - Region1: !FindInMap [StaticParameters, StaticParameters, Region1]
      Type: A
      HealthCheckId: !Ref RoutingControlHealthcheckCell1C
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



