efs
- class moto.efs.models.EFSBackend(region_name=None)
The backend manager of EFS resources.
This is the state-machine for each region, tracking the file systems, mount targets, and eventually access points that are deployed. Creating, updating, and destroying such resources should always go through this class.
Example usage
@mock_efs
def test_efs_behaviour:
boto3.client("efs")
...
Implemented features for this service
[ ] create_access_point
[X] create_file_system Create a new EFS File System Volume.
[X] create_mount_target Create a new EFS Mount Target for a given File System to a given subnet.
Note that you can only create one mount target for each availability zone (which is implied by the subnet ID).
https://docs.aws.amazon.com/efs/latest/ug/API_CreateMountTarget.html
[ ] create_replication_configuration
[ ] create_tags
[ ] delete_access_point
[X] delete_file_system Delete the file system specified by the given file_system_id.
Note that mount targets must be deleted first.
https://docs.aws.amazon.com/efs/latest/ug/API_DeleteFileSystem.html
[ ] delete_file_system_policy
[X] delete_mount_target Delete a mount target specified by the given mount_target_id.
Note that this will also delete a network interface.
https://docs.aws.amazon.com/efs/latest/ug/API_DeleteMountTarget.html
[ ] delete_replication_configuration
[ ] delete_tags
[ ] describe_access_points
[ ] describe_account_preferences
[X] describe_backup_policy
[ ] describe_file_system_policy
[X] describe_file_systems Describe all the EFS File Systems, or specific File Systems.
[ ] describe_lifecycle_configuration
[ ] describe_mount_target_security_groups
[X] describe_mount_targets Describe the mount targets given a mount target ID or a file system ID.
Note that as of this writing access points, and thus access point IDs are not supported.
https://docs.aws.amazon.com/efs/latest/ug/API_DescribeMountTargets.html
[ ] describe_replication_configurations
[ ] describe_tags
[ ] list_tags_for_resource
[ ] modify_mount_target_security_groups
[ ] put_account_preferences
[ ] put_backup_policy
[ ] put_file_system_policy
[ ] put_lifecycle_configuration
[ ] tag_resource
[ ] untag_resource
[ ] update_file_system