Search code examples
amazon-web-servicesaws-codepipelineaws-codebuildaws-code-deploy

How to find the list of aws service identifiers


I'm working with aws and implementing CI/CD using their developer tools. Each of the tools requires a service role, so I decided to just update my existing service role with the correct permissions. The problem is I don't know where to find the list of values to use for each service.

Below I just guessed the right name after creating a role, but I prefer not to guess enter image description here

I searched the docs and found these names and I also tried using the cli to find the ids: aws describe-services or aws help but that list doesn't match.

How do I find the values to update these policies?


Solution

  • Based on comments there is no official API. But there is an unofficial List of AWS Service Principals been kind of maintained by the people.