Class Fog::AWS::EFS::Real
In: lib/fog/aws/efs.rb
lib/fog/aws/requests/efs/modify_mount_target_security_groups.rb
lib/fog/aws/requests/efs/create_mount_target.rb
lib/fog/aws/requests/efs/delete_mount_target.rb
lib/fog/aws/requests/efs/create_file_system.rb
lib/fog/aws/requests/efs/describe_mount_targets.rb
lib/fog/aws/requests/efs/describe_file_systems.rb
lib/fog/aws/requests/efs/delete_file_system.rb
lib/fog/aws/requests/efs/describe_mount_target_security_groups.rb
Parent: Object

Methods

Included Modules

Fog::AWS::CredentialFetcher::ConnectionMethods

Public Class methods

Public Instance methods

Create a new, empty file system docs.aws.amazon.com/efs/latest/ug/API_CreateFileSystem.html

Parameters

  • CreationToken <~String> - String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation.
  • PerformanceMode <~String> - (Optional) The PerformanceMode of the file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. This can‘t be changed after the file system has been created.

Returns

  • response<~Excon::Response>
    • body<~Hash>

Create a mount target for a specified file system docs.aws.amazon.com/efs/latest/ug/API_CreateMountTarget.html

Parameters

  • FileSystemId <~String> - ID of the file system for which to create the mount target.
  • IpAddress <~String> - Valid IPv4 address within the address range of the specified subnet.
  • SecurityGroups <~Array> - Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
  • SubnetId <~String> - ID of the subnet to add the mount target in.

Returns

  • response<~Excon::Response>
    • body<~Hash>

Delete a file system docs.aws.amazon.com/efs/latest/ug/API_DeleteFileSystem.html

Parameters

  • FileSystemId <~String> - ID of the file system you want to delete.

Returns

  • response<~Excon::Response>
    • body - Empty
    • status - 204

Delete a mount target docs.aws.amazon.com/efs/latest/ug/API_DeleteMountTarget.html

Parameters

  • MountTargetId <~String> - ID of the mount target you want to delete

Returns

  • response<~Excon::Response>
    • body - Empty
    • status - 204

Describe all or specified elastic file systems docs.aws.amazon.com/efs/latest/ug/API_DescribeFileSystems.html

Parameters

  • CreationToken <~String> - (Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system.
  • FileSystemId <~String> - (Optional) ID of the file system whose description you want to retrieve (String).

Returns

  • response<~Excon::Response>:
    • body<~Hash>

Describe mount target security groups docs.aws.amazon.com/efs/latest/ug/API_DescribeMountTargetSecurityGroups.html

Parameters

  • MountTargetId - Id of the mount target for which you want to describe security groups

Returns

  • response<~Excon::Response>
  • body<~Hash>

Describe all mount targets for a filesystem, or specified mount target docs.aws.amazon.com/efs/latest/ug/API_DescribeMountTargets.html

Parameters

  • FileSystemId<~String> - Id of file system to describe mount targets for. Required unless MountTargetId is specified
  • MountTargetId<~String> - Specific mount target to describe. Required if FileSystemId is not specified

Returns

  • response<~Excon::Response>
    • body<~Hash>

[Validate]