We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787f005 commit 00f188bCopy full SHA for 00f188b
run.py
@@ -659,7 +659,7 @@ def startCluster():
659
"ApproximateNumberOfMessagesVisible",
660
]
661
sns = boto3.client("sns")
662
- MonitorARN = sns.create_topic(Name="Monitor") # returns ARN since topic already exists
+ MonitorARN = sns.create_topic(Name="Monitor")['TopicArn'] # returns ARN since topic already exists
663
for metric in metricnames:
664
response = cloudwatch.put_metric_alarm(
665
AlarmName=f'{metric}isZero_{APP_NAME}',
0 commit comments