sym.sdk.integrations.aws_iam.is_user_in_group(user: sym.sdk.user.User, *, group_name: str) bool

Checks if the provided user is a member of the AWS IAM group specified.

The unique AWS IAM group name must be given, and the method will check that the group exists and is accessible. An exception will be thrown if not.

  • user – The user to check group membership of.

  • group_name – The name of the AWS IAM group.


True if the user is a member of the specified AWS IAM group, False otherwise.