创建默认的EMR管理的安全组的aws cli命令是什么? [英] What's the aws cli command to create the default EMR-managed security groups?

查看:155
本文介绍了创建默认的EMR管理的安全组的aws cli命令是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用EMR Web控制台时,您可以创建一个集群,AWS会自动创建名为"ElasticMapReduce-master"和EMR的EMR管理的安全组. "ElasticMapReduce从属".您如何通过aws cli创建这些文件?

When using the EMR web console, you can create a cluster and AWS automatically creates the EMR-managed security groups named "ElasticMapReduce-master" & "ElasticMapReduce-slave". How do you create those via the aws cli?

我找到了aws emr create-default-roles,但是没有aws emr create-default-security-groups.

推荐答案

到目前为止,您似乎还无法做到.请参见 http://docs.aws.amazon .com/emr/latest/ManagementGuide/emr-man-sec-groups.html 部分使用AWS CLI指定由Amazon EMR管理的安全组":

As of right now, it looks like you can't. See http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html section "To specify Amazon EMR–managed security groups using the AWS CLI":

Amazon EMR不支持Amazon EMR管理的安全组 CLI.

Amazon EMR–managed security groups are not supported in the Amazon EMR CLI.

另请参见 https://github.com/aws/aws-cli/issues/2485

这篇关于创建默认的EMR管理的安全组的aws cli命令是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆