Athena workgroup iam permissions. A workgroup is an IAM resource managed by Athena.


Athena workgroup iam permissions. For more Amazon Athena (service prefix: athena) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies. See Tag policy examples for workgroups. Each IAM permission details its own description, access level, resolved resource type ARN pattern, condition keys, as well as the API methods that are known to consume that permission. IAM Permissions are available on all service pages. Note: Make sure that you follow security best practices in IAM. For more information, see Security best practices in IAM in the IAM User Guide. Amazon Athena resources can now be accessed within Amazon SageMaker Unified Studio (Preview), which helps you access your organization's data and act on it with the best tools. Creating a workgroup requires permissions to CreateWorkgroup API actions. References:. For a complete list of Amazon Athena actions, see the API action names in the Amazon Athena API Reference. For more information about creating IAM policies for workgroups, see Use IAM policies to control workgroup access. Each service has its resources and ways of specifying and limiting permissions. The error you see may be related to using the primary workgroup as default. If you are adding tags, you also need to add permissions to TagResource. Additionally, workgroups act as resources, allowing you to apply resource-level identity-based policies to control access to a specific workgroup. You can use IAM policies and entities (user or role) to restrict or allow access to Athena resources, such as queries and AWS services. There are a few entries missing on the Athena service level and Athena workgroup level. IAM Identity Center enabled workgroups cannot be modified to support resource-level IAM permissions or identity based IAM policies. For a full list of permissions for Athena, see Actions, resources, and condition keys for Amazon Athena in the Service Authorization Reference. Existing Athena SQL workgroups can propagate identity to downstream services. Examine these policies carefully and modify them according to your requirements before you attach similar permissions policies to IAM identities. A workgroup is an IAM resource managed by Athena. You can migrate saved queries from an Athena workgroup to a SageMaker Unified Studio project, configure projects with existing Athena workgroups, and maintain necessary permissions through IAM role updates. Oct 15, 2020 · Because there are multiple services involved, IAM policies for Athena often have a lot of statements, and they can be hard to get right in the beginning. To control access to workgroups, use resource-level IAM permissions or identity-based IAM policies. The following procedure shows how to use the Athena console to create a workgroup. To create a workgroup using the Amazon Athena uses AWS Identity and Access Management (IAM) policies to restrict access to Athena operations. Whenever you use IAM policies, make sure that you follow IAM best practices. Existing Athena SQL workgroups cannot be modified to support IAM Identity Center enabled workgroups. See Configure access to workgroups and tags and Use IAM policies to control workgroup access. Therefore, if your workgroup policy uses actions that take workgroup as an input, you must specify the workgroup's ARN as follows: Oct 17, 2012 · The permission policy examples in this topic demonstrate required allowed actions and the resources for which they are allowed. Feb 17, 2025 · Workgroups enable you to set limits on the amount of data each query or workgroup can process and help track costs. hfdr rzzxj wed jluiv mvset apdh cyse mrutpa ambj bseag