Skip to content

Instantly share code, notes, and snippets.

View hassaku63's full-sized avatar

Takuya Hashimoto hassaku63

View GitHub Profile
import boto3
autoscaling = boto3.client("autoscaling")
#org_param = dict(MinSize=2, DesiredCapacity=2) # 復元先のパラメータ
stop_param = dict(MinSize=0, DesiredCapacity=0) # 擬似Stopする時のパラメータ
def lambda_handler(event, context):
"""
cron triggered function