title: How can I allow a Group to assume a Role?
body: <p>How can I allow all members of a Group to assume a Role in AWS IAM?</p>
  
  <p>I tried Using the following statement but as specified in <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#Principal" rel="noreferrer">AWS IAM Principal Element</a>, a Group can not be a Principal.</p>
  
  <p>I want to achieve something like below:</p>
  
  <pre><code>{
    "Version": "2012-10-17",
    "Statement": [
      {
        "Sid": "",
        "Effect": "Allow",
        "Principal": {
          "AWS": "arn:aws:iam::***:group/developer"
        },
        "Action": "sts:AssumeRole"
      }
    ]
  }
  </code></pre>
  
  <p>The idea is that all members of the group <code>group/developer</code> should be able to assume the role. The objective is that I should be saved from having to specify each member in a group individually.</p>
  
  <p>Is there a way to achieve this?</p>