Specifically, the cause of the issue lies with how AWS's identity and access management function handles a specific type of policy - known as resource-based policy - that is associated with AWS resources such as an S3 bucket or an Amazon EC2 instance. 2