开发者社区> 问答> 正文

哪个boto3 API可用于注册和注销目标

有没有可用的boto3 API,我可以直接使用它们来注销目标并在目标组中注册目标。我的lambda函数:

  1. Identifies the health of the target grp

  2. If unhealthy then finds the correct IP address/instance ID to be used (it has the information beforehand)

  3. *De-Register the existing Target and register new target*

  4. waits for sometime and ensures the Target grp responses healthy.

对于#3,如果你们有任何线索让我知道,我将无法确定是否有Boto3 python API。

提前致谢。

问题来源:stackoverflow

展开
收起
is大龙 2020-03-24 15:49:50 510 0
1 条回答
写回答
取消 提交回答
  • 您可以使用ElasticLoadBalancingv2 Boto3客户端的register_targets()和deregister_targets()方法。

    回答来源:stackoverflow

    2020-03-24 15:49:58
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Spring Boot2.0实战Redis分布式缓存 立即下载
CUDA MATH API 立即下载
API PLAYBOOK 立即下载