aws iam attach-group-policy
Attaches the specified managed policy to the specified IAM group. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--group-nameThe name (friendly name, not ARN) of the group to attach the policy to.--policy-arnThe Amazon Resource Name (ARN) of the IAM policy you want to attach.