code/route53/healthChecks/alb-health-check.yaml [146:170]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ActionsEnabled: True
        AlarmActions:
        - !If [AlarmActionFlag, !Ref SNSTopicNotifications, !Ref "AWS::NoValue"]
        MetricName: DDoSDetected
        Namespace: AWS/DDoSProtection
        Statistic: Sum
        Dimensions:
        - Name: ResourceArn
          Value: !Ref resourceArn
        Period: 60
        EvaluationPeriods: 20
        DatapointsToAlarm: 1
        Threshold: 1
        ComparisonOperator: GreaterThanOrEqualToThreshold
        TreatMissingData: notBreaching
    Metric1HealthCheck:
      Type: 'AWS::Route53::HealthCheck'
      Properties: 
        HealthCheckConfig:
          Type: CLOUDWATCH_METRIC
          AlarmIdentifier:
            Region: !Ref AWS::Region
            Name: !Ref Alarm1
        HealthCheckTags:
        - Key: Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



code/route53/healthChecks/nlb-health-check.yaml [115:139]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      ActionsEnabled: True
      AlarmActions:
      - !If [AlarmActionFlag, !Ref SNSTopicNotifications, !Ref "AWS::NoValue"]
      MetricName: DDoSDetected
      Namespace: AWS/DDoSProtection
      Statistic: Sum
      Dimensions:
      - Name: ResourceArn
        Value: !Ref resourceArn
      Period: 60
      EvaluationPeriods: 20
      DatapointsToAlarm: 1
      Threshold: 1
      ComparisonOperator: GreaterThanOrEqualToThreshold
      TreatMissingData: notBreaching
  Metric1HealthCheck:
    Type: 'AWS::Route53::HealthCheck'
    Properties: 
      HealthCheckConfig:
        Type: CLOUDWATCH_METRIC
        AlarmIdentifier:
          Region: !Ref AWS::Region
          Name: !Ref Alarm1
      HealthCheckTags:
      - Key: Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



