Deletes the FileSystemPolicy for the specified file system.
The default FileSystemPolicy goes into effect once the existing policy is deleted.
For more information about the default file system policy, see Using Resource-based Policies with EFS.
This operation requires permissions for the elasticfilesystem:DeleteFileSystemPolicy action.
example
Use a bare-bones client and the command you need to make an API call.
Deletes the
FileSystemPolicy
for the specified file system. The defaultFileSystemPolicy
goes into effect once the existing policy is deleted. For more information about the default file system policy, see Using Resource-based Policies with EFS.This operation requires permissions for the
elasticfilesystem:DeleteFileSystemPolicy
action.Use a bare-bones client and the command you need to make an API call.
import { EFSClient, DeleteFileSystemPolicyCommand } from "@aws-sdk/client-efs"; // ES Modules import // const { EFSClient, DeleteFileSystemPolicyCommand } = require("@aws-sdk/client-efs"); // CommonJS import const client = new EFSClient(config); const command = new DeleteFileSystemPolicyCommand(input); const response = await client.send(command);
DeleteFileSystemPolicyCommandInput for command's
input
shape.DeleteFileSystemPolicyCommandOutput for command's
response
shape.config for EFSClient's
config
shape.