Learn R Programming

paws.storage (version 0.1.12)

efs: Amazon Elastic File System

Description

Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it. For more information, see the User Guide.

Usage

efs(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- efs(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

create_access_pointCreates an EFS access point
create_file_systemCreates a new, empty file system
create_mount_targetCreates a mount target for a file system
create_tagsCreates or overwrites tags associated with a file system
delete_access_pointDeletes the specified access point
delete_file_systemDeletes a file system, permanently severing access to its contents
delete_file_system_policyDeletes the FileSystemPolicy for the specified file system
delete_mount_targetDeletes the specified mount target
delete_tagsDeletes the specified tags from a file system
describe_access_pointsReturns the description of a specific Amazon EFS access point if the AccessPointId is provided
describe_backup_policyReturns the backup policy for the specified EFS file system
describe_file_system_policyReturns the FileSystemPolicy for the specified EFS file system
describe_file_systemsReturns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided
describe_lifecycle_configurationReturns the current LifecycleConfiguration object for the specified Amazon EFS file system
describe_mount_targetsReturns the descriptions of all the current mount targets, or a specific mount target, for a file system
describe_mount_target_security_groupsReturns the security groups currently in effect for a mount target
describe_tagsReturns the tags associated with a file system
list_tags_for_resourceLists all tags for a top-level EFS resource
modify_mount_target_security_groupsModifies the set of security groups in effect for a mount target
put_backup_policyUpdates the file system's backup policy
put_file_system_policyApplies an Amazon EFS FileSystemPolicy to an Amazon EFS file system
put_lifecycle_configurationEnables lifecycle management by creating a new LifecycleConfiguration object
tag_resourceCreates a tag for an EFS resource
untag_resourceRemoves tags from an EFS resource
update_file_systemUpdates the throughput mode or the amount of provisioned throughput of an existing file system

Examples

Run this code
if (FALSE) {
svc <- efs()
# This operation creates a new file system with the default generalpurpose
# performance mode.
svc$create_file_system(
  CreationToken = "tokenstring",
  PerformanceMode = "generalPurpose",
  Tags = list(
    list(
      Key = "Name",
      Value = "MyFileSystem"
    )
  )
)
}

Run the code above in your browser using DataLab