aws efs put-file-system-policy
Applies an Amazon EFS FileSystemPolicy to an Amazon EFS file system. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--bypass-policy-lockout-safety-check(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy lockout safety check.--file-system-idThe ID of the EFS file system that you want to create or update the FileSystemPolicy for.--policyThe FileSystemPolicy that you're creating.