CmdID / aws / aws s3files
aws s3files put-file-system-policy
Creates or replaces the IAM resource policy for an S3 File System to control access permissions. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--file-system-idThe ID or Amazon Resource Name (ARN) of the S3 File System to apply the resource policy to.--policyThe JSON-formatted resource policy to apply to the file system.