import { Value } from '../../cloudformation/Value';
import { ElasticFileSystemTagProps } from './filesystem/ElasticFileSystemTagProps';
import { LifecyclePolicyProps } from './filesystem/LifecyclePolicyProps';
import { ReplicationConfigurationProps } from './filesystem/ReplicationConfigurationProps';
import { BackupPolicyProps } from './filesystem/BackupPolicyProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type FileSystemAttributes = {
    FileSystemId: Attribute<string>;
    Arn: Attribute<string>;
};
export type FileSystem = AwsResource<'AWS::EFS::FileSystem', FileSystemProperties, FileSystemAttributes>;
/**
  The <code>AWS::EFS::FileSystem</code> resource creates a new, empty file system in Amazon Elastic File System (Amazon EFS). You must create a mount target (<a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html">AWS::EFS::MountTarget</a>) to mount your EFS file system on an Amazon EC2 or other AWS cloud compute resource.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html">the AWS Docs</a>
*/
export declare function fileSystem(fileSystemProps?: FileSystemProperties): FileSystem;
/**
  The <code>AWS::EFS::FileSystem</code> resource creates a new, empty file system in Amazon Elastic File System (Amazon EFS). You must create a mount target (<a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html">AWS::EFS::MountTarget</a>) to mount your EFS file system on an Amazon EC2 or other AWS cloud compute resource.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html">the AWS Docs</a>
*/
export interface FileSystemProperties {
    /** <p> */
    kmsKeyId?: Value<string>;
    /** <code>PerformanceMode</code>  <a name="cfn-efs-filesystem-performancemode"></a>
  The performance mode of the file system. We recommend <code>generalPurpose</code> performance mode for most file systems. File systems using the <code>maxIO</code> 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. The performance mode can’t be changed after the file system has been created.<br />
  The <code>maxIO</code> mode is not supported on file systems using One Zone storage classes.
  Default is <code>generalPurpose</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>generalPurpose | maxIO</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    performanceMode?: Value<'generalPurpose' | 'maxIO'>;
    /** <code>Encrypted</code>  <a name="cfn-efs-filesystem-encrypted"></a>
  A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a KmsKeyId for an existing AWS KMS key. If you don’t specify a KMS key, then the default KMS key for Amazon EFS, <code>/aws/elasticfilesystem</code>, is used to protect the encrypted file system.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    encrypted?: Value<boolean>;
    /** <code>BypassPolicyLockoutSafetyCheck</code>  <a name="cfn-efs-filesystem-bypasspolicylockoutsafetycheck"></a>
  (Optional) A boolean that specifies whether or not to bypass the <code>FileSystemPolicy</code> lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making future <code>PutFileSystemPolicy</code> requests on this file system. Set <code>BypassPolicyLockoutSafetyCheck</code> to <code>True</code> only when you intend to prevent the IAM principal that is making the request from making subsequent <code>PutFileSystemPolicy</code> requests on this file system. The default value is <code>False</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    bypassPolicyLockoutSafetyCheck?: Value<boolean>;
    /** <code>FileSystemTags</code>  <a name="cfn-efs-filesystem-filesystemtags"></a>
  Use to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a <code>&quot;Key&quot;:&quot;Name&quot;,&quot;Value&quot;:&quot;{value}&quot;</code> key-value pair. Each key must be unique. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS resources</a> in the * AWS General Reference Guide*.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fileSystemTags?: ElasticFileSystemTagProps[];
    /** <code>ProvisionedThroughputInMibps</code>  <a name="cfn-efs-filesystem-provisionedthroughputinmibps"></a>
  The throughput, measured in mebibytes per second (MiBps), that you want to provision for a file system that you’re creating. Required if <code>ThroughputMode</code> is set to <code>provisioned</code>. Valid values are 1-3414 MiBps, with the upper limit depending on Region. To increase this limit, contact AWS Support. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits">Amazon EFS quotas that you can increase</a> in the
  Amazon EFS User Guide: br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    provisionedThroughputInMibps?: Value<number>;
    /** <code>FileSystemPolicy</code>  <a name="cfn-efs-filesystem-filesystempolicy"></a>
  The <code>FileSystemPolicy</code> for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html">Using IAM to control NFS access to Amazon EFS</a> in the
  Amazon EFS User Guide: br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>20000</code><br />
  
  Pattern: <code>[\s\S]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fileSystemPolicy?: Value<any>;
    /** <code>AvailabilityZoneName</code>  <a name="cfn-efs-filesystem-availabilityzonename"></a>
  Used to create a file system that uses One Zone storage classes. It specifies the AWS Availability Zone in which to create the file system. Use the format <code>us-east-1a</code> to specify the Availability Zone. For more information about One Zone storage classes, see <a href="https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html">Using EFS storage classes</a> in the
  Amazon EFS User Guide: br />
  One Zone storage classes are not available in all Availability Zones in AWS Regions where Amazon EFS is available.
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>.+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    availabilityZoneName?: Value<string>;
    /** <p> */
    lifecyclePolicies?: LifecyclePolicyProps[];
    /** <code>ThroughputMode</code>  <a name="cfn-efs-filesystem-throughputmode"></a>
  Specifies the throughput mode for the file system. The mode can be <code>bursting</code>, <code>provisioned</code>, or <code>elastic</code>. If you set <code>ThroughputMode</code> to <code>provisioned</code>, you must also set a value for <code>ProvisionedThroughputInMibps</code>. After you create the file system, you can decrease your file system’s throughput in Provisioned Throughput mode or change between the throughput modes, with certain time restrictions. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput">Specifying throughput with provisioned mode</a> in the
  Amazon EFS User Guide: br />
  Default is <code>bursting</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>bursting | elastic | provisioned</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    throughputMode?: Value<'bursting' | 'elastic' | 'provisioned'>;
    /**  */
    replicationConfiguration?: ReplicationConfigurationProps;
    /** <code>BackupPolicy</code>  <a name="cfn-efs-filesystem-backuppolicy"></a>
  Use the <code>BackupPolicy</code> to turn automatic backups on or off for the file system.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    backupPolicy?: BackupPolicyProps;
}
