v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142110684.3 KB

Creates or replaces the IAM resource policy for an S3 File System to control access permissions.

put/file-systems/{fileSystemId}/policy

Path parameters

fileSystemIdstring required

The ID or Amazon Resource Name (ARN) of the S3 File System to apply the resource policy to.

Request body

policystring required

The JSON-formatted resource policy to apply to the file system. The policy defines the permissions for accessing the file system. The policy must be a valid JSON document that follows IAM policy syntax.

Response

Success

PutFileSystemPolicyResponse required