CreateFileSystem#

Description#

Request to create a file system (EFS).

Request Parameters#

Required parameters#

  • CreationToken — An arbitrary string used to ensure idempotent creation of EFS.

    • Type: String

    • Required: Yes

    • Constraints: 1 to 64 ASCII characters

Optional parameters#

  • Tags — Tags assigned to the file system.

    • Type: List of Tag objects

    • Required: No

Response Elements#

  • CreationTime — The creation time.

    • Type: Timestamp

  • CreationToken — The creation token.

    • Type: String

  • FileSystemId — The ID of the file system.

    • Type: String

  • LifeCycleState — The state of the lifecycle.

    • Type: String

  • Name — The name of the file system.

    • Type: String

  • NumberOfMountTargets — The number of mount targets for the file system .

    • Type: Integer

  • PerformanceMode — The performance mode.

    • Type: String

    • Valid values: generalPurpose

  • SizeInBytes — The size of the file system in bytes.

  • Tags — Tags assigned to the resource.

    • Type: List of Tag objects

Examples#

POST /2015-02-01/file-systems HTTP/1.1
Content-Type: application/json

{
    "CreationToken": "my-creation-token",
    "Tags": [
        {
            "Key": "Name",
            "Value": "my-first-fs"
        }
    ]
}
aws efs create-file-system --creation-token "my-creation-token" --tags Key=Name,Value=my-first-fs
c2-efs CreateFileSystem CreationToken my-creation-token Tags.1.Key Name Tags.1.Value my-first-fs