How to allow an IAM entity to edit the description of the AWSServiceRoleForECS service-linked role?

0 votes
How to allow an IAM entity to edit the description of the AWSServiceRoleForECS service-linked role?
Jun 23 in AWS by Hatim
24 views

1 answer to this question.

0 votes

Hey @Hatim, 

Add the following statement to the permissions policy for the IAM entity that needs to edit the description of a service-linked role:

{
    "Effect": "Allow",
    "Action": [
        "iam:UpdateRoleDescription"
    ],
    "Resource": "arn:aws:iam::*:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS*",
    "Condition": {"StringLike": {"iam:AWSServiceName": "ecs.amazonaws.com"}}
}
answered Jun 23 by Varsha

Related Questions In AWS

0 votes
1 answer

How to add SSL certificate to AWS EC2 with the help of new AWS Certificate Manager service

refer this link  https://aws.amazon.com/certificate-manager/faqs/ You can't install the certificates ...READ MORE

answered Jul 19, 2018 in AWS by Priyaj
• 56,520 points
70 views
0 votes
1 answer

How to launch an EC2 instance with IAM-Role?

The credentials you are using from your ...READ MORE

answered Sep 3, 2018 in AWS by Archana
• 4,090 points
191 views
0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,090 points
103 views
0 votes
1 answer
0 votes
1 answer