utils.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:cloud-custodian-wrapper 作者: JohnTheodore 项目源码 文件源码
def run_c7n_mailer(logger):
    email_config_filepath = '/custodian/email/email-config.yml'
    email_config = yaml.load(get_file_contents(email_config_filepath), Loader=yaml.SafeLoader)
    session = boto3.Session()
    mailer_sqs_queue_processor = MailerSqsQueueProcessor(email_config, session, logger)
    mailer_sqs_queue_processor.run(parallel=False)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号