Lamda-TagSpotFleetInstances
所属分类:虚拟化
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2017-02-18 19:00:22
上 传 者:
sh-1993
说明: Lamda函数的Python代码,该函数可以在与EC2实例状态更改CloudWatch事件发生时标记Spot Fleet实例,其中s...,
(Python code for a Lamda function which can tag a Spot Fleet instance when envoked with a EC2 instance state chage CloudWatch event with state "pending".)
文件列表:
TagSpotFleetInstances.py (1797, 2017-02-18)
# Lamda-TagSpotFleetInstances
This Python function is for executing in a AWS Lambda function.
The trigger for the Lambda function should be the CloudWatch event for Ec2 instance state change notification with state 'pending'.
It creates two tags on a SpootFleet EC2 instance parallely by envoking tag_instance function using pyhton multiprocessing library.
近期下载者:
相关文件:
收藏者: