aws::efs-file-system

Creates an EFS File System.

Example

aws::efs-file-system efs-file-system
    encrypted: false
    performance-mode: GENERAL_PURPOSE
    throughput-mode: BURSTING
    policy: "policy.json"

    lifecycle-policy
        transition-to-ia-rules: AFTER_30_DAYS
    end

    backup-policy
        status: DISABLED
    end

    tags: {
        "Name": "example-efs-file-system"
    }
end

Attributes

Attribute Description
encrypted The option which decides whether to create an encrypted file system.
key The key to be used to protect the encrypted file system. Can only be set if encrypted is set.
performance-mode The performance mode of the file system. Valid values are GENERAL_PURPOSE or MAX_IO.
provisioned-throughput The throughput in MiB/s, that you want to provision for a file system that you’re creating. Minimum allowed value is 0.
throughput-mode The throughput mode for the file system to be created. Valid values are BURSTING or PROVISIONED.
backup-policy subresource

The backup policy for the file system.

status
The status of the file system’s backup policy. Valid values are ENABLED or DISABLED. (Required)
policy The policy for the file system.
lifecycle-policy list subresource

The LifeCycle policy for the file system.

transition-to-ia-rules
The value that describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Valid values are AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS or AFTER_90_DAYS. (Required)
tags map The tags for the file system.

Outputs

Attribute Description
id The ID of the file system.