check_access
Test whether an IAM principal can access a specific AWS resource and identify the relationship permitting access.
Instructions
Test if a principal can access a resource.
Args:
principal: IAM role or user name (e.g., "ECforS")
resource: Target resource (e.g., "s3://prod-bucket")
Returns:
Whether access is allowed and via which relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| resource | Yes | ||
| snapshot_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||