Data processing and transformation services.
| Name | Description |
|---|---|
get_roles_for_service | Get all IAM roles that can be assumed by a specific AWS service. This tool retrieves all IAM roles in your AWS account that have a trust relationship with the specified service. It helps you identify which roles can be used for services like Glue jobs, EMR clusters, or Athena queries, making it easier to select the appropriate role when creating these resources. ## Service Types Common service types include: - **glue**: AWS Glue service (glue.amazonaws.com) - **emr**: Amazon EMR service (elasticmapreduce.amazonaws.com) - **athena**: Amazon Athena service (athena.amazonaws.com) - You can also specify other AWS service principals ## Response Information The response includes a list of roles that can be assumed by the specified service, with details such as role name, ARN, description, creation date, and the full assume role policy document. ## Usage Tips - Use this tool to find existing roles before creating new ones - Verify that roles have the necessary permissions for your use case - For Glue jobs, look for roles with AWSGlueServiceRole or similar policies - For EMR clusters, look for roles with AmazonElasticMapReduceRole or similar policies - For Athena queries, look for roles with AmazonAthenaFullAccess or similar policies |