I hereby claim:
- I am wys1203 on github.
- I am wys1203 (https://keybase.io/wys1203) on keybase.
- I have a public key ASA-5u7m2IhArFdINjlsspcIDV_KTuZqAuruzz7uGQBeKgo
To claim this, I am signing this object:
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true | |
}, | |
parserOptions: { | |
parser: '@typescript-eslint/parser', | |
sourceType: 'module' | |
}, |
I hereby claim:
To claim this, I am signing this object:
import sys | |
import boto3 | |
def rename_alarm(alarm_name, new_alarm_name): | |
client = boto3.client('cloudwatch') | |
alarm = client.describe_alarms(AlarmNames=[alarm_name]) | |
if not alarm: | |
raise Exception("Alarm '%s' not found" % alarm_name) | |
alarm = alarm['MetricAlarms'][0] |
##Install AWS CLI Tools##
cd ~/.aws
edit or create new file named config
paste the following contents inside.
Save the file as "config"
from __future__ import absolute_import, division, print_function, unicode_literals | |
from multiprocessing.dummy import Pool as ThreadPool | |
from multiprocessing import Lock | |
from threading import get_ident | |
class SingletonType(type): | |
def __new__(mcs, name, bases, attrs): | |
# Assume the target class is created (i.e. this method to be called) in the main thread. |