import { Value } from '../../../cloudformation/Value';
import { RootVolumeConfigurationProps } from './RootVolumeConfigurationProps';
import { DiskIopsConfigurationProps } from './DiskIopsConfigurationProps';
/**
  The OpenZFS configuration for the file system that’s being created.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html">the AWS Docs</a>
*/
export interface OpenZFSConfigurationProps {
    /** <code>Options</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-options"></a>
  To delete a file system if there are child volumes present below the root volume, use the string <code>DELETE_CHILD_VOLUMES_AND_SNAPSHOTS</code>. If your file system has child volumes and you don’t use this option, the delete request will fail.<br />
  
  Required: No<br />
  
  Maximum: <code>1</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> */
    options?: Value<Value<string>[]>;
    /** <code>CopyTagsToVolumes</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-copytagstovolumes"></a>
  A Boolean value indicating whether tags for the file system should be copied to volumes. This value defaults to <code>false</code>. If it’s set to <code>true</code>, all tags for the file system are copied to volumes where the user doesn’t specify tags. If this value is <code>true</code>, and you specify one or more tags, only the specified tags are copied to volumes. If you specify one or more tags when creating the volume, no tags are copied from the file system, regardless of this value.<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> */
    copyTagsToVolumes?: Value<boolean>;
    /** <p> */
    deploymentType: Value<string>;
    /** <p> */
    throughputCapacity?: Value<number>;
    /** <code>RootVolumeConfiguration</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration"></a>
  The configuration Amazon FSx uses when creating the root value of the Amazon FSx for OpenZFS file system. All volumes are children of the root volume.<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> */
    rootVolumeConfiguration?: RootVolumeConfigurationProps;
    /** <code>EndpointIpAddressRange</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-endpointipaddressrange"></a>
  (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for you from one of the VPC’s CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.<br />
  
  Required: No<br />
  
  Minimum: <code>9</code><br />
  
  Maximum: <code>17</code><br />
  
  Pattern: <code>^[^\u0000\u0085\u2028\u2029\r\n]{9,17}$</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> */
    endpointIpAddressRange?: Value<string>;
    /** <code>RouteTableIds</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-routetableids"></a>
  (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC’s default route table.<br />
  
  Required: No<br />
  
  Maximum: <code>50</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> */
    routeTableIds?: Value<Value<string>[]>;
    /** <code>WeeklyMaintenanceStartTime</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-weeklymaintenancestarttime"></a>
  A recurring weekly time, in the format <code>D:HH:MM</code>.<br />
  <code>D</code> is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see <a href="https://en.wikipedia.org/wiki/ISO_week_date">the ISO-8601 spec as described on Wikipedia</a>.<br />
  <code>HH</code> is the zero-padded hour of the day (0-23), and <code>MM</code> is the zero-padded minute of the hour.<br />
  For example, <code>1:05:00</code> specifies maintenance at 5 AM Monday.<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> */
    weeklyMaintenanceStartTime?: Value<string>;
    /** <code>DiskIopsConfiguration</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration"></a>
  The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).<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> */
    diskIopsConfiguration?: DiskIopsConfigurationProps;
    /** <code>DailyAutomaticBackupStartTime</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-dailyautomaticbackupstarttime"></a>
  A recurring daily time, in the format <code>HH:MM</code>. <code>HH</code> is the zero-padded hour of the day (0-23), and <code>MM</code> is the zero-padded minute of the hour. For example, <code>05:00</code> specifies 5 AM daily.<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> */
    dailyAutomaticBackupStartTime?: Value<string>;
    /** <code>CopyTagsToBackups</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-copytagstobackups"></a>
  A Boolean value indicating whether tags for the file system should be copied to backups. This value defaults to <code>false</code>. If it’s set to <code>true</code>, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn’t specify tags. If this value is <code>true</code>, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.<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> */
    copyTagsToBackups?: Value<boolean>;
    /** <code>AutomaticBackupRetentionDays</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-automaticbackupretentiondays"></a>
  The number of days to retain automatic backups. Setting this property to <code>0</code> disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is <code>30</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> */
    automaticBackupRetentionDays?: Value<number>;
    /** <code>PreferredSubnetId</code>  <a name="cfn-fsx-filesystem-openzfsconfiguration-preferredsubnetid"></a>
  Required when <code>DeploymentType</code> is set to <code>MULTI_AZ_1</code>. This specifies the subnet in which you want the preferred file server to be located.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    preferredSubnetId?: Value<string>;
}
