0

当您转到 API Gateway 页面上的设置并添加 IAM 角色 ( https://console.aws.amazon.com/apigateway/home?region=us-east-1#/settings )时,可以手动完成。但我不知道将哪个 API 用于 python sdk。

4

1 回答 1

1

CloudWatch 角色可以通过使用 python sdk https://boto3.readthedocs.io/en/latest/reference/services/apigateway.html#APIGateway.Client.update_account调用 update_account 来设置

cloudwatchArn 的路径是 /cloudwatchRoleArn

于 2016-06-14T22:29:26.157 回答