How to give a group in AWS IAM Identity Center to a Policy?

25 Views Asked by At

I have a policy called Lightsail Developers:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "lightsail:*"
            ],
            "Resource": "*"
        }
    ]
}

In "IAM Identity Center" I created a user, and put him in the group "LightsailDevelopers". Not, how do I add that group to the above policy? Do I add a SID statement? Is it done by the picking and choosing in the console, or by editing the JSON of the policy?

0

There are 0 best solutions below