Untitled

 avatar
unknown
plain_text
2 years ago
719 B
5
Indexable
const firmCrmReportStack = new FirmCrmReportStack(
      this,
      "FirmCrmReportStack",
      {
        stage: this.stage,
        dbConfig: {
          auroraCredentialsArn: credentials.secretArn,
          auroraRdsArn: cluster.clusterArn,
          auroraDbName: this.rdsName,
          cluster,
        },
        faFirmReportConfig: this.generateFaFirmReportConfig,
      }
    );

    alarmStack?.createAlarmAndAssignToTopic("FirmCrmReportAlarm", {
      ...singleMetricThresholdAlarmProperties,
      alarmName: "FirmCrmReportAlarm",
      treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,
      metric:
        firmCrmReportStack.deadLetterQueue.metricApproximateNumberOfMessagesVisible(),
    });
Editor is loading...