{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-restore-volume-from-snapshot-response-schema.json",
  "title": "RestoreVolumeFromSnapshotResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-volume-api-openapi.yml#/components/schemas/RestoreVolumeFromSnapshotResponse",
  "type": "object",
  "properties": {
    "VolumeId": {
      "type": "string",
      "description": "The ID of the volume that you restored."
    },
    "Lifecycle": {
      "type": "string",
      "enum": [
        "CREATING",
        "CREATED",
        "DELETING",
        "FAILED",
        "MISCONFIGURED",
        "PENDING",
        "AVAILABLE"
      ],
      "description": "The lifecycle state of the volume being restored."
    },
    "AdministrativeActions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AdministrativeAction"
      },
      "description": "A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system."
    }
  },
  "$defs": {
    "AdministrativeAction": {
      "type": "object",
      "properties": {
        "AdministrativeActionType": {
          "type": "string",
          "enum": [
            "FILE_SYSTEM_UPDATE",
            "STORAGE_OPTIMIZATION",
            "FILE_SYSTEM_ALIAS_ASSOCIATION",
            "FILE_SYSTEM_ALIAS_DISASSOCIATION",
            "VOLUME_UPDATE",
            "SNAPSHOT_UPDATE",
            "RELEASE_NFS_V3_LOCKS",
            "VOLUME_RESTORE",
            "THROUGHPUT_OPTIMIZATION",
            "IOPS_OPTIMIZATION",
            "STORAGE_TYPE_OPTIMIZATION",
            "MISCONFIGURED_STATE_RECOVERY",
            "VOLUME_UPDATE_WITH_SNAPSHOT",
            "VOLUME_INITIALIZE_WITH_SNAPSHOT",
            "DOWNLOAD_DATA_FROM_BACKUP"
          ]
        },
        "ProgressPercent": {
          "type": "integer",
          "description": "The percentage-complete status of a STORAGE_OPTIMIZATION or DOWNLOAD_DATA_FROM_BACKUP administrative action. Does not apply to any other administrative action type."
        },
        "RequestTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the administrative action request was received."
        },
        "Status": {
          "type": "string",
          "enum": [
            "FAILED",
            "IN_PROGRESS",
            "PENDING",
            "COMPLETED",
            "UPDATED_OPTIMIZING",
            "OPTIMIZING",
            "PAUSED",
            "CANCELLED"
          ],
          "description": "The status of the administrative action, as follows: FAILED - Amazon FSx failed to process the administrative action successfully. IN_PROGRESS - Amazon FSx is processing the administrative action. PENDING - Amazon FSx is waiting to process the administrative action. COMPLETED - Amazon FSx has finished processing the administrative task. For a backup restore to a second-generation FSx for ONTAP file system, indicates that all data has been downloaded to the volume, and clients now have read-write access to volume. UPDATED_OPTIMIZING - For a storage-capacity increase update, Amazon FSx has updat"
        },
        "TargetFileSystemValues": {
          "$ref": "#/$defs/FileSystem"
        },
        "FailureDetails": {
          "$ref": "#/$defs/AdministrativeActionFailureDetails"
        },
        "TargetVolumeValues": {
          "$ref": "#/$defs/Volume"
        },
        "TargetSnapshotValues": {
          "$ref": "#/$defs/Snapshot"
        },
        "TotalTransferBytes": {
          "type": "integer",
          "description": "The number of bytes that have transferred for the FSx for OpenZFS snapshot that you're copying."
        },
        "RemainingTransferBytes": {
          "type": "integer",
          "description": "The remaining bytes to transfer for the FSx for OpenZFS snapshot that you're copying."
        },
        "Message": {
          "type": "string"
        }
      }
    },
    "AdministrativeActionFailureDetails": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string",
          "description": "Error message providing details about the failed administrative action."
        }
      }
    },
    "AggregateConfiguration": {
      "type": "object",
      "properties": {
        "Aggregates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of aggregates that this volume resides on. Aggregates are storage pools which make up your primary storage tier. Each high-availability (HA) pair has one aggregate. The names of the aggregates map to the names of the aggregates in the ONTAP CLI and REST API. For FlexVols, there will always be a single entry. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: The strings in the value of Aggregates are not are not formatted as aggrX, where X is a number between 1 and 12. The value of Aggregates contains aggregates that are not present. One or mo"
        },
        "TotalConstituents": {
          "type": "integer",
          "description": "The total number of constituents this FlexGroup volume has. Not applicable for FlexVols."
        }
      }
    },
    "Alias": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the DNS alias. The alias name has to meet the following requirements: Formatted as a fully-qualified domain name (FQDN), hostname.domain, for example, accounting.example.com. Can contain alphanumeric characters, the underscore (_), and the hyphen (-). Cannot start or end with a hyphen. Can start with a numeric. For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes."
        },
        "Lifecycle": {
          "type": "string",
          "enum": [
            "AVAILABLE",
            "CREATING",
            "DELETING",
            "CREATE_FAILED",
            "DELETE_FAILED"
          ],
          "description": "Describes the state of the DNS alias. AVAILABLE - The DNS alias is associated with an Amazon FSx file system. CREATING - Amazon FSx is creating the DNS alias and associating it with the file system. CREATE_FAILED - Amazon FSx was unable to associate the DNS alias with the file system. DELETING - Amazon FSx is disassociating the DNS alias from the file system and deleting it. DELETE_FAILED - Amazon FSx was unable to disassociate the DNS alias from the file system."
        }
      }
    },
    "AutocommitPeriod": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "MINUTES",
            "HOURS",
            "DAYS",
            "MONTHS",
            "YEARS",
            "NONE"
          ],
          "description": "Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONE disables autocommit. The default value is NONE."
        },
        "Value": {
          "type": "integer",
          "description": "Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. The following ranges are valid: Minutes: 5 - 65,535 Hours: 1 - 65,535 Days: 1 - 3,650 Months: 1 - 120 Years: 1 - 10"
        }
      },
      "required": [
        "Type"
      ]
    },
    "DataRepositoryConfiguration": {
      "type": "object",
      "properties": {
        "Lifecycle": {
          "type": "string",
          "enum": [
            "CREATING",
            "AVAILABLE",
            "MISCONFIGURED",
            "UPDATING",
            "DELETING",
            "FAILED"
          ],
          "description": "Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values: CREATING - The data repository configuration between the FSx file system and the linked S3 data repository is being created. The data repository is unavailable. AVAILABLE - The data repository is available for use. MISCONFIGURED - Amazon FSx cannot automatically import updates from the S3 bucket until the data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket. UPDATING - The d"
        },
        "ImportPath": {
          "type": "string",
          "description": "The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your FSx for Lustre file system, for example s3://import-bucket/optional-prefix. If a prefix is specified after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system."
        },
        "ExportPath": {
          "type": "string",
          "description": "The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file system files in S3."
        },
        "ImportedFileChunkSize": {
          "type": "integer",
          "description": "For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB."
        },
        "AutoImportPolicy": {
          "type": "string",
          "enum": [
            "NONE",
            "NEW",
            "NEW_CHANGED",
            "NEW_CHANGED_DELETED"
          ],
          "description": "Describes the file system's linked S3 data repository's AutoImportPolicy. The AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following values: NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or changed objects after choosing this option. NEW - AutoImport is on. Amazon FSx automatically imports directory listi"
        },
        "FailureDetails": {
          "$ref": "#/$defs/DataRepositoryFailureDetails"
        }
      }
    },
    "DataRepositoryFailureDetails": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "DiskIopsConfiguration": {
      "type": "object",
      "properties": {
        "Mode": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "USER_PROVISIONED"
          ],
          "description": "Specifies whether the file system is using the AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED value."
        },
        "Iops": {
          "type": "integer",
          "description": "The total number of SSD IOPS provisioned for the file system. The minimum and maximum values for this property depend on the value of HAPairs and StorageCapacity. The minimum value is calculated as StorageCapacity * 3 * HAPairs (3 IOPS per GB of StorageCapacity). The maximum value is calculated as 200,000 * HAPairs. Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops is outside of the minimum or maximum values."
        }
      }
    },
    "FileSystem": {
      "type": "object",
      "properties": {
        "OwnerId": {
          "type": "string",
          "description": "The Amazon Web Services account that created the file system. If the file system was created by a user in IAM Identity Center, the Amazon Web Services account to which the IAM user belongs is the owner."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time."
        },
        "FileSystemId": {
          "type": "string",
          "description": "The system-generated, unique 17-digit ID of the file system."
        },
        "FileSystemType": {
          "type": "string",
          "enum": [
            "WINDOWS",
            "LUSTRE",
            "ONTAP",
            "OPENZFS"
          ],
          "description": "The type of Amazon FSx file system, which can be LUSTRE, WINDOWS, ONTAP, or OPENZFS."
        },
        "Lifecycle": {
          "type": "string",
          "enum": [
            "AVAILABLE",
            "CREATING",
            "FAILED",
            "DELETING",
            "MISCONFIGURED",
            "UPDATING",
            "MISCONFIGURED_UNAVAILABLE"
          ],
          "description": "The lifecycle status of the file system. The following are the possible values and what they mean: AVAILABLE - The file system is in a healthy state, and is reachable and available for use. CREATING - Amazon FSx is creating the new file system. DELETING - Amazon FSx is deleting an existing file system. FAILED - An existing file system has experienced an unrecoverable failure. When creating a new file system, Amazon FSx was unable to create the file system. MISCONFIGURED - The file system is in a failed but recoverable state. MISCONFIGURED_UNAVAILABLE - (Amazon FSx for Windows File Server only)"
        },
        "FailureDetails": {
          "$ref": "#/$defs/FileSystemFailureDetails"
        },
        "StorageCapacity": {
          "type": "integer",
          "description": "The storage capacity of the file system in gibibytes (GiB). Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of StorageCapacity is outside of the minimum or maximum values."
        },
        "StorageType": {
          "type": "string",
          "enum": [
            "SSD",
            "HDD",
            "INTELLIGENT_TIERING"
          ],
          "description": "The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set to HDD, the file system uses hard disk drive storage. If set to INTELLIGENT_TIERING, the file system uses fully elastic, intelligently-tiered storage."
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the primary virtual private cloud (VPC) for the file system."
        },
        "SubnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the IDs of the subnets that the file system is accessible from. For the Amazon FSx Windows and ONTAP MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the PreferredSubnetID property. All other file systems have only one subnet ID. For FSx for Lustre file systems, and Single-AZ Windows file systems, this is the ID of the subnet that contains the file system's endpoint. For MULTI_AZ_1 Windows and ONTAP file systems, the file system endpoint is available "
        },
        "NetworkInterfaceIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the elastic network interfaces from which a specific file system is accessible. The elastic network interface is automatically created in the same virtual private cloud (VPC) that the Amazon FSx file system was created in. For more information, see Elastic Network Interfaces in the Amazon EC2 User Guide. For an Amazon FSx for Windows File Server file system, you can have one network interface ID. For an Amazon FSx for Lustre file system, you can have more than one."
        },
        "DNSName": {
          "type": "string",
          "description": "The Domain Name System (DNS) name for the file system."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file system data. Used as follows with Amazon FSx file system types: Amazon FSx for Lustre PERSISTENT_1 and PERSISTENT_2 deployment types only. SCRATCH_1 and SCRATCH_2 types are encrypted using the Amazon FSx service KMS key for your account. Amazon FSx for NetApp ONTAP Amazon FSx for OpenZFS Amazon FSx for Windows File Server"
        },
        "ResourceARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the file system resource."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The tags to associate with the file system. For more information, see Tagging your Amazon FSx resources in the Amazon FSx for Lustre User Guide."
        },
        "WindowsConfiguration": {
          "$ref": "#/$defs/WindowsFileSystemConfiguration"
        },
        "LustreConfiguration": {
          "$ref": "#/$defs/LustreFileSystemConfiguration"
        },
        "AdministrativeActions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdministrativeAction"
          },
          "description": "A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system that you have initiated using the UpdateFileSystem operation."
        },
        "OntapConfiguration": {
          "$ref": "#/$defs/OntapFileSystemConfiguration"
        },
        "FileSystemTypeVersion": {
          "type": "string",
          "description": "The Lustre version of the Amazon FSx for Lustre file system, which can be 2.10, 2.12, or 2.15."
        },
        "OpenZFSConfiguration": {
          "$ref": "#/$defs/OpenZFSFileSystemConfiguration"
        },
        "NetworkType": {
          "type": "string",
          "enum": [
            "IPV4",
            "DUAL"
          ],
          "description": "The network type of the file system."
        }
      }
    },
    "FileSystemEndpoint": {
      "type": "object",
      "properties": {
        "DNSName": {
          "type": "string"
        },
        "IpAddresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IPv4 addresses of the file system endpoint."
        },
        "Ipv6Addresses": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IPv6 addresses of the file system endpoint."
        }
      }
    },
    "FileSystemEndpoints": {
      "type": "object",
      "properties": {
        "Intercluster": {
          "$ref": "#/$defs/FileSystemEndpoint"
        },
        "Management": {
          "$ref": "#/$defs/FileSystemEndpoint"
        }
      }
    },
    "FileSystemFailureDetails": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string",
          "description": "A message describing any failures that occurred."
        }
      }
    },
    "FileSystemLustreMetadataConfiguration": {
      "type": "object",
      "properties": {
        "Iops": {
          "type": "integer",
          "description": "The number of Metadata IOPS provisioned for the file system. For SSD file systems, valid values are 1500, 3000, 6000, 12000, and multiples of 12000 up to a maximum of 192000. For Intelligent-Tiering file systems, valid values are 6000 and 12000."
        },
        "Mode": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "USER_PROVISIONED"
          ],
          "description": "The metadata configuration mode for provisioning Metadata IOPS for the file system. In AUTOMATIC mode (supported only on SSD file systems), FSx for Lustre automatically provisions and scales the number of Metadata IOPS on your file system based on your file system storage capacity. In USER_PROVISIONED mode, you can choose to specify the number of Metadata IOPS to provision for your file system."
        }
      },
      "required": [
        "Mode"
      ]
    },
    "LifecycleTransitionReason": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "LustreFileSystemConfiguration": {
      "type": "object",
      "properties": {
        "WeeklyMaintenanceStartTime": {
          "type": "string",
          "description": "The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. Here, d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday."
        },
        "DataRepositoryConfiguration": {
          "$ref": "#/$defs/DataRepositoryConfiguration"
        },
        "DeploymentType": {
          "type": "string",
          "enum": [
            "SCRATCH_1",
            "SCRATCH_2",
            "PERSISTENT_1",
            "PERSISTENT_2"
          ],
          "description": "The deployment type of the FSx for Lustre file system. Scratch deployment type is designed for temporary storage and shorter-term processing of data. SCRATCH_1 and SCRATCH_2 deployment types are best suited for when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1. The PERSISTENT_1 and PERSISTENT_2 deployment type is used for longer-term storage and workloads and encryption of data in transit. PERSISTENT_2 offers higher PerUnitStorageThroughput (up to 1000 MB/"
        },
        "PerUnitStorageThroughput": {
          "type": "integer",
          "description": "Per unit storage throughput represents the megabytes per second of read or write throughput per 1 tebibyte of storage provisioned. File system throughput capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). This option is only valid for PERSISTENT_1 and PERSISTENT_2 deployment types. Valid values: For PERSISTENT_1 SSD storage: 50, 100, 200. For PERSISTENT_1 HDD storage: 12, 40. For PERSISTENT_2 SSD storage: 125, 250, 500, 1000."
        },
        "MountName": {
          "type": "string",
          "description": "You use the MountName value when mounting the file system. For the SCRATCH_1 deployment type, this value is always \"fsx\". For SCRATCH_2, PERSISTENT_1, and PERSISTENT_2 deployment types, this value is a string that is unique within an Amazon Web Services Region."
        },
        "DailyAutomaticBackupStartTime": {
          "type": "string"
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        },
        "CopyTagsToBackups": {
          "type": "boolean",
          "description": "A boolean flag indicating whether tags on the file system are copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, 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. (Default = false)"
        },
        "DriveCacheType": {
          "type": "string",
          "enum": [
            "NONE",
            "READ"
          ],
          "description": "The type of drive cache used by PERSISTENT_1 file systems that are provisioned with HDD storage devices. This parameter is required when StorageType is HDD. When set to READ the file system has an SSD storage cache that is sized to 20% of the file system's storage capacity. This improves the performance for frequently accessed files by caching up to 20% of the total storage capacity. This parameter is required when StorageType is set to HDD."
        },
        "DataCompressionType": {
          "type": "string",
          "enum": [
            "NONE",
            "LZ4"
          ],
          "description": "The data compression configuration for the file system. DataCompressionType can have the following values: NONE - Data compression is turned off for the file system. LZ4 - Data compression is turned on with the LZ4 algorithm. For more information, see Lustre data compression."
        },
        "LogConfiguration": {
          "$ref": "#/$defs/LustreLogConfiguration"
        },
        "RootSquashConfiguration": {
          "$ref": "#/$defs/LustreRootSquashConfiguration"
        },
        "MetadataConfiguration": {
          "$ref": "#/$defs/FileSystemLustreMetadataConfiguration"
        },
        "EfaEnabled": {
          "type": "boolean",
          "description": "Specifies whether Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) support is enabled for the Amazon FSx for Lustre file system."
        },
        "ThroughputCapacity": {
          "type": "integer",
          "description": "The throughput of an Amazon FSx for Lustre file system using the Intelligent-Tiering storage class, measured in megabytes per second (MBps)."
        },
        "DataReadCacheConfiguration": {
          "$ref": "#/$defs/LustreReadCacheConfiguration"
        }
      }
    },
    "LustreLogConfiguration": {
      "type": "object",
      "properties": {
        "Level": {
          "type": "string",
          "enum": [
            "DISABLED",
            "WARN_ONLY",
            "ERROR_ONLY",
            "WARN_ERROR"
          ],
          "description": "The data repository events that are logged by Amazon FSx. WARN_ONLY - only warning events are logged. ERROR_ONLY - only error events are logged. WARN_ERROR - both warning events and error events are logged. DISABLED - logging of data repository events is turned off. Note that Amazon File Cache uses a default setting of WARN_ERROR, which can't be changed."
        },
        "Destination": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that specifies the destination of the logs. The destination can be any Amazon CloudWatch Logs log group ARN. The destination ARN must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file system."
        }
      },
      "required": [
        "Level"
      ]
    },
    "LustreReadCacheConfiguration": {
      "type": "object",
      "properties": {
        "SizingMode": {
          "type": "string",
          "enum": [
            "NO_CACHE",
            "USER_PROVISIONED",
            "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"
          ],
          "description": "Specifies how the provisioned SSD read cache is sized, as follows: Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system. Set to USER_PROVISIONED to specify the exact size of your SSD read cache. Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity."
        },
        "SizeGiB": {
          "type": "integer",
          "description": "Required if SizingMode is set to USER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB). The SSD read cache size is distributed across provisioned file servers in your file system. Intelligent-Tiering file systems support a minimum of 32 GiB and maximum of 131072 GiB for SSD read cache size for every 4,000 MB/s of throughput capacity provisioned."
        }
      }
    },
    "LustreRootSquashConfiguration": {
      "type": "object",
      "properties": {
        "RootSquash": {
          "type": "string",
          "description": "You enable root squash by setting a user ID (UID) and group ID (GID) for the file system in the format UID:GID (for example, 365534:65534). The UID and GID values can range from 0 to 4294967294: A non-zero value for UID and GID enables root squash. The UID and GID values can be different, but each must be a non-zero value. A value of 0 (zero) for UID and GID indicates root, and therefore disables root squash. When root squash is enabled, the user ID and group ID of a root user accessing the file system are re-mapped to the UID and GID you provide."
        },
        "NoSquashNids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6@tcp). An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]@tcp)."
        }
      }
    },
    "OntapFileSystemConfiguration": {
      "type": "object",
      "properties": {
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        },
        "DailyAutomaticBackupStartTime": {
          "type": "string"
        },
        "DeploymentType": {
          "type": "string",
          "enum": [
            "MULTI_AZ_1",
            "SINGLE_AZ_1",
            "SINGLE_AZ_2",
            "MULTI_AZ_2"
          ],
          "description": "Specifies the FSx for ONTAP file system deployment type in use in the file system. MULTI_AZ_1 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. MULTI_AZ_2 - A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. SINGLE_AZ_1 - A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. SINGLE_AZ_2 - A file system"
        },
        "EndpointIpAddressRange": {
          "type": "string",
          "description": "(Multi-AZ only) Specifies the IPv4 address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables."
        },
        "Endpoints": {
          "$ref": "#/$defs/FileSystemEndpoints"
        },
        "DiskIopsConfiguration": {
          "$ref": "#/$defs/DiskIopsConfiguration"
        },
        "PreferredSubnetId": {
          "type": "string"
        },
        "RouteTableIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "(Multi-AZ only) The VPC route tables in which your file system's endpoints are created."
        },
        "ThroughputCapacity": {
          "type": "integer"
        },
        "WeeklyMaintenanceStartTime": {
          "type": "string"
        },
        "FsxAdminPassword": {
          "type": "string",
          "description": "You can use the fsxadmin user account to access the NetApp ONTAP CLI and REST API. The password value is always redacted in the response."
        },
        "HAPairs": {
          "type": "integer",
          "description": "Specifies how many high-availability (HA) file server pairs the file system will have. The default value is 1. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: The value of HAPairs is less than 1 or greater than 12. The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1, MULTI_AZ_1, or MULTI_AZ_2."
        },
        "ThroughputCapacityPerHAPair": {
          "type": "integer",
          "description": "Use to choose the throughput capacity per HA pair. When the value of HAPairs is equal to 1, the value of ThroughputCapacityPerHAPair is the total throughput for the file system. This field and ThroughputCapacity cannot be defined in the same API call, but one is required. This field and ThroughputCapacity are the same for file systems with one HA pair. For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. Amazon FSx re"
        },
        "EndpointIpv6AddressRange": {
          "type": "string",
          "description": "(Multi-AZ only) Specifies the IPv6 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 /118 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, as long as they don't overlap with any subnet."
        }
      }
    },
    "OntapVolumeConfiguration": {
      "type": "object",
      "properties": {
        "FlexCacheEndpointType": {
          "type": "string",
          "enum": [
            "NONE",
            "ORIGIN",
            "CACHE"
          ],
          "description": "Specifies the FlexCache endpoint type of the volume. Valid values are the following: NONE specifies that the volume doesn't have a FlexCache configuration. NONE is the default. ORIGIN specifies that the volume is the origin volume for a FlexCache volume. CACHE specifies that the volume is a FlexCache volume."
        },
        "JunctionPath": {
          "type": "string",
          "description": "Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a JunctionPath directly below a parent volume junction or on a directory within a volume. A JunctionPath for a volume named vol3 might be /vol1/vol2/vol3, or /vol1/dir2/vol3, or even /dir1/dir2/vol3."
        },
        "SecurityStyle": {
          "type": "string",
          "enum": [
            "UNIX",
            "NTFS",
            "MIXED"
          ],
          "description": "The security style for the volume, which can be UNIX, NTFS, or MIXED."
        },
        "SizeInMegabytes": {
          "type": "integer",
          "description": "The configured size of the volume, in megabytes (MBs)."
        },
        "StorageEfficiencyEnabled": {
          "type": "boolean",
          "description": "The volume's storage efficiency setting."
        },
        "StorageVirtualMachineId": {
          "type": "string",
          "description": "The ID of the volume's storage virtual machine."
        },
        "StorageVirtualMachineRoot": {
          "type": "boolean",
          "description": "A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false. If this value is true, then this is the SVM root volume. This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false, helps you identify which volumes to delete before you can delete the SVM."
        },
        "TieringPolicy": {
          "$ref": "#/$defs/TieringPolicy"
        },
        "UUID": {
          "type": "string",
          "description": "The volume's universally unique identifier (UUID)."
        },
        "OntapVolumeType": {
          "type": "string",
          "enum": [
            "RW",
            "DP",
            "LS"
          ],
          "description": "Specifies the type of volume. Valid values are the following: RW specifies a read/write volume. RW is the default. DP specifies a data-protection volume. You can protect data by replicating it to data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data. LS specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a FlexVol volume by providing additional read-only access to clients."
        },
        "SnapshotPolicy": {
          "type": "string",
          "description": "Specifies the snapshot policy for the volume. There are three built-in snapshot policies: default: This is the default policy. A maximum of six hourly snapshots taken five minutes past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight. default-1weekly: This policy is the same as the default policy except that it only retains one snapshot from the weekly schedule. none: This policy does not take any snapshots. This policy can be assigned to volumes to prevent au"
        },
        "CopyTagsToBackups": {
          "type": "boolean",
          "description": "A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, 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 volume, regardless of this value."
        },
        "SnaplockConfiguration": {
          "$ref": "#/$defs/SnaplockConfiguration"
        },
        "VolumeStyle": {
          "type": "string",
          "enum": [
            "FLEXVOL",
            "FLEXGROUP"
          ],
          "description": "Use to specify the style of an ONTAP volume. For more information about FlexVols and FlexGroups, see Volume types in Amazon FSx for NetApp ONTAP User Guide."
        },
        "AggregateConfiguration": {
          "$ref": "#/$defs/AggregateConfiguration"
        },
        "SizeInBytes": {
          "type": "integer",
          "description": "The configured size of the volume, in bytes."
        }
      }
    },
    "OpenZFSClientConfiguration": {
      "type": "object",
      "properties": {
        "Clients": {
          "type": "string",
          "description": "A value that specifies who can mount the file system. You can provide a wildcard character (*), an IP address (0.0.0.0), or a CIDR address (192.0.2.0/24). By default, Amazon FSx uses the wildcard character when specifying the client."
        },
        "Options": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following: crossmnt is used by default. If you don't specify crossmnt when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory. sync is used by default. If you instead specify async, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data."
        }
      },
      "required": [
        "Clients",
        "Options"
      ]
    },
    "OpenZFSFileSystemConfiguration": {
      "type": "object",
      "properties": {
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        },
        "CopyTagsToBackups": {
          "type": "boolean",
          "description": "A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true 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."
        },
        "CopyTagsToVolumes": {
          "type": "boolean",
          "description": "A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value."
        },
        "DailyAutomaticBackupStartTime": {
          "type": "string"
        },
        "DeploymentType": {
          "type": "string",
          "enum": [
            "SINGLE_AZ_1",
            "SINGLE_AZ_2",
            "SINGLE_AZ_HA_1",
            "SINGLE_AZ_HA_2",
            "MULTI_AZ_1"
          ],
          "description": "Specifies the file-system deployment type. Amazon FSx for OpenZFS supports MULTI_AZ_1, SINGLE_AZ_HA_2, SINGLE_AZ_HA_1, SINGLE_AZ_2, and SINGLE_AZ_1."
        },
        "ThroughputCapacity": {
          "type": "integer",
          "description": "The throughput of an Amazon FSx file system, measured in megabytes per second (MBps)."
        },
        "WeeklyMaintenanceStartTime": {
          "type": "string"
        },
        "DiskIopsConfiguration": {
          "$ref": "#/$defs/DiskIopsConfiguration"
        },
        "RootVolumeId": {
          "type": "string",
          "description": "The ID of the root volume of the OpenZFS file system."
        },
        "PreferredSubnetId": {
          "type": "string",
          "description": "Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which you want the preferred file server to be located."
        },
        "EndpointIpAddressRange": {
          "type": "string",
          "description": "(Multi-AZ only) Specifies the IPv4 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."
        },
        "EndpointIpv6AddressRange": {
          "type": "string",
          "description": "(Multi-AZ only) Specifies the IPv6 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 /118 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, as long as they don't overlap with any subnet."
        },
        "RouteTableIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "(Multi-AZ only) The VPC route tables in which your file system's endpoints are created."
        },
        "EndpointIpAddress": {
          "type": "string",
          "description": "The IPv4 address of the endpoint that is used to access data or to manage the file system."
        },
        "EndpointIpv6Address": {
          "type": "string",
          "description": "The IPv6 address of the endpoint that is used to access data or to manage the file system."
        },
        "ReadCacheConfiguration": {
          "$ref": "#/$defs/OpenZFSReadCacheConfiguration"
        }
      }
    },
    "OpenZFSNfsExport": {
      "type": "object",
      "properties": {
        "ClientConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OpenZFSClientConfiguration"
          },
          "description": "A list of configuration objects that contain the client and options for mounting the OpenZFS file system."
        }
      },
      "required": [
        "ClientConfigurations"
      ]
    },
    "OpenZFSOriginSnapshotConfiguration": {
      "type": "object",
      "properties": {
        "SnapshotARN": {
          "type": "string"
        },
        "CopyStrategy": {
          "type": "string",
          "enum": [
            "CLONE",
            "FULL_COPY",
            "INCREMENTAL_COPY"
          ],
          "description": "The strategy used when copying data from the snapshot to the new volume. CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. FULL_COPY - Copies all data from the snapshot to the new volume. The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume."
        }
      }
    },
    "OpenZFSReadCacheConfiguration": {
      "type": "object",
      "properties": {
        "SizingMode": {
          "type": "string",
          "enum": [
            "NO_CACHE",
            "USER_PROVISIONED",
            "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"
          ],
          "description": "Specifies how the provisioned SSD read cache is sized, as follows: Set to NO_CACHE if you do not want to use an SSD read cache with your Intelligent-Tiering file system. Set to USER_PROVISIONED to specify the exact size of your SSD read cache. Set to PROPORTIONAL_TO_THROUGHPUT_CAPACITY to have your SSD read cache automatically sized based on your throughput capacity."
        },
        "SizeGiB": {
          "type": "integer",
          "description": "Required if SizingMode is set to USER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB)."
        }
      }
    },
    "OpenZFSUserOrGroupQuota": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "USER",
            "GROUP"
          ],
          "description": "Specifies whether the quota applies to a user or group."
        },
        "Id": {
          "type": "integer",
          "description": "The ID of the user or group that the quota applies to."
        },
        "StorageCapacityQuotaGiB": {
          "type": "integer",
          "description": "The user or group's storage quota, in gibibytes (GiB)."
        }
      },
      "required": [
        "Type",
        "Id",
        "StorageCapacityQuotaGiB"
      ]
    },
    "OpenZFSVolumeConfiguration": {
      "type": "object",
      "properties": {
        "ParentVolumeId": {
          "type": "string",
          "description": "The ID of the parent volume."
        },
        "VolumePath": {
          "type": "string",
          "description": "The path to the volume from the root volume. For example, fsx/parentVolume/volume1."
        },
        "StorageCapacityReservationGiB": {
          "type": "integer",
          "description": "The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved."
        },
        "StorageCapacityQuotaGiB": {
          "type": "integer",
          "description": "The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume."
        },
        "RecordSizeKiB": {
          "type": "integer",
          "description": "The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. For guidance on when to set a custom record size, see the Amazon FSx for OpenZFS User Guide."
        },
        "DataCompressionType": {
          "type": "string",
          "enum": [
            "NONE",
            "ZSTD",
            "LZ4"
          ],
          "description": "Specifies the method used to compress the data on the volume. The compression type is NONE by default. NONE - Doesn't compress the data on the volume. NONE is the default. ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization. LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds."
        },
        "CopyTagsToSnapshots": {
          "type": "boolean",
          "description": "A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value."
        },
        "OriginSnapshot": {
          "$ref": "#/$defs/OpenZFSOriginSnapshotConfiguration"
        },
        "ReadOnly": {
          "type": "boolean",
          "description": "A Boolean value indicating whether the volume is read-only."
        },
        "NfsExports": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OpenZFSNfsExport"
          },
          "description": "The configuration object for mounting a Network File System (NFS) file system."
        },
        "UserAndGroupQuotas": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OpenZFSUserOrGroupQuota"
          },
          "description": "An object specifying how much storage users or groups can use on the volume."
        },
        "RestoreToSnapshot": {
          "type": "string",
          "description": "Specifies the ID of the snapshot to which the volume was restored."
        },
        "DeleteIntermediateSnaphots": {
          "type": "boolean",
          "description": "A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot."
        },
        "DeleteClonedVolumes": {
          "type": "boolean",
          "description": "A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot."
        },
        "DeleteIntermediateData": {
          "type": "boolean",
          "description": "A Boolean value indicating whether snapshot data that differs between the current state and the specified snapshot should be overwritten when a volume is restored from a snapshot."
        },
        "SourceSnapshotARN": {
          "type": "string"
        },
        "DestinationSnapshot": {
          "type": "string",
          "description": "The ID of the snapshot that's being copied or was most recently copied to the destination volume."
        },
        "CopyStrategy": {
          "type": "string",
          "enum": [
            "CLONE",
            "FULL_COPY",
            "INCREMENTAL_COPY"
          ],
          "description": "Specifies the strategy used when copying data from the snapshot to the new volume. CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. FULL_COPY - Copies all data from the snapshot to the new volume. Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system. The INCREMENTAL_COPY option is only for updating an existing volume by using a s"
        }
      }
    },
    "RetentionPeriod": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "SECONDS",
            "MINUTES",
            "HOURS",
            "DAYS",
            "MONTHS",
            "YEARS",
            "INFINITE",
            "UNSPECIFIED"
          ],
          "description": "Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it to UNSPECIFIED, the files are retained until you set an explicit retention period."
        },
        "Value": {
          "type": "integer",
          "description": "Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. You can't set a value for INFINITE or UNSPECIFIED. For all other options, the following ranges are valid: Seconds: 0 - 65,535 Minutes: 0 - 65,535 Hours: 0 - 24 Days: 0 - 365 Months: 0 - 12 Years: 0 - 100"
        }
      },
      "required": [
        "Type"
      ]
    },
    "SelfManagedActiveDirectoryAttributes": {
      "type": "object",
      "properties": {
        "DomainName": {
          "type": "string",
          "description": "The fully qualified domain name of the self-managed AD directory."
        },
        "OrganizationalUnitDistinguishedName": {
          "type": "string",
          "description": "The fully qualified distinguished name of the organizational unit within the self-managed AD directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined."
        },
        "FileSystemAdministratorsGroup": {
          "type": "string",
          "description": "The name of the domain group whose members have administrative privileges for the FSx file system."
        },
        "UserName": {
          "type": "string",
          "description": "The user name for the service account on your self-managed AD domain that FSx uses to join to your AD domain."
        },
        "DnsIps": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory."
        },
        "DomainJoinServiceAccountSecret": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the service account credentials used to join the file system to your self-managed Active Directory domain."
        }
      }
    },
    "SnaplockConfiguration": {
      "type": "object",
      "properties": {
        "AuditLogVolume": {
          "type": "boolean",
          "description": "Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false. If you set AuditLogVolume to true, the SnapLock volume is created as an audit log volume. The minimum retention period for an audit log volume is six months. For more information, see SnapLock audit log volumes."
        },
        "AutocommitPeriod": {
          "$ref": "#/$defs/AutocommitPeriod"
        },
        "PrivilegedDelete": {
          "type": "string",
          "enum": [
            "DISABLED",
            "ENABLED",
            "PERMANENTLY_DISABLED"
          ],
          "description": "Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Enabling privileged delete allows SnapLock administrators to delete write once, read many (WORM) files even if they have active retention periods. PERMANENTLY_DISABLED is a terminal state. If privileged delete is permanently disabled on a SnapLock volume, you can't re-enable it. The default value is DISABLED. For more information, see Privileged delete."
        },
        "RetentionPeriod": {
          "$ref": "#/$defs/SnaplockRetentionPeriod"
        },
        "SnaplockType": {
          "type": "string",
          "enum": [
            "COMPLIANCE",
            "ENTERPRISE"
          ],
          "description": "Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. You can choose one of the following retention modes: COMPLIANCE: Files transitioned to write once, read many (WORM) on a Compliance volume can't be deleted until their retention periods expire. This retention mode is used to address government or industry-specific mandates or to protect against ransomware attacks. For more information, see SnapLock Compliance. ENTERPRISE: Files transitioned to WORM on an Enterprise volume can be deleted by authorized users before their retention periods expi"
        },
        "VolumeAppendModeEnabled": {
          "type": "boolean",
          "description": "Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append mode allows you to create WORM-appendable files and write data to them incrementally. The default value is false. For more information, see Volume-append mode."
        }
      }
    },
    "SnaplockRetentionPeriod": {
      "type": "object",
      "properties": {
        "DefaultRetention": {
          "$ref": "#/$defs/RetentionPeriod"
        },
        "MinimumRetention": {
          "$ref": "#/$defs/RetentionPeriod"
        },
        "MaximumRetention": {
          "$ref": "#/$defs/RetentionPeriod"
        }
      },
      "required": [
        "DefaultRetention",
        "MinimumRetention",
        "MaximumRetention"
      ]
    },
    "Snapshot": {
      "type": "object",
      "properties": {
        "ResourceARN": {
          "type": "string"
        },
        "SnapshotId": {
          "type": "string",
          "description": "The ID of the snapshot."
        },
        "Name": {
          "type": "string",
          "description": "The name of the snapshot."
        },
        "VolumeId": {
          "type": "string",
          "description": "The ID of the volume that the snapshot is of."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time"
        },
        "Lifecycle": {
          "type": "string",
          "enum": [
            "PENDING",
            "CREATING",
            "DELETING",
            "AVAILABLE"
          ],
          "description": "The lifecycle status of the snapshot. PENDING - Amazon FSx hasn't started creating the snapshot. CREATING - Amazon FSx is creating the snapshot. DELETING - Amazon FSx is deleting the snapshot. AVAILABLE - The snapshot is fully available."
        },
        "LifecycleTransitionReason": {
          "$ref": "#/$defs/LifecycleTransitionReason"
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          }
        },
        "AdministrativeActions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdministrativeAction"
          },
          "description": "A list of administrative actions for the file system that are in process or waiting to be processed. Administrative actions describe changes to the Amazon FSx system."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A value that specifies the TagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached."
        },
        "Value": {
          "type": "string",
          "description": "A value that specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April and also of payroll : April."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "TieringPolicy": {
      "type": "object",
      "properties": {
        "CoolingPeriod": {
          "type": "integer",
          "description": "Specifies the number of days that user data in a volume must remain inactive before it is considered \"cold\" and moved to the capacity pool. Used with the AUTO and SNAPSHOT_ONLY tiering policies. Enter a whole number between 2 and 183. Default values are 31 days for AUTO and 2 days for SNAPSHOT_ONLY."
        },
        "Name": {
          "type": "string",
          "enum": [
            "SNAPSHOT_ONLY",
            "AUTO",
            "ALL",
            "NONE"
          ],
          "description": "Specifies the tiering policy used to transition data. Default value is SNAPSHOT_ONLY. SNAPSHOT_ONLY - moves cold snapshots to the capacity pool storage tier. AUTO - moves cold user data and snapshots to the capacity pool storage tier based on your access patterns. ALL - moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier. NONE - keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier."
        }
      }
    },
    "Volume": {
      "type": "object",
      "properties": {
        "CreationTime": {
          "type": "string",
          "format": "date-time"
        },
        "FileSystemId": {
          "type": "string"
        },
        "Lifecycle": {
          "type": "string",
          "enum": [
            "CREATING",
            "CREATED",
            "DELETING",
            "FAILED",
            "MISCONFIGURED",
            "PENDING",
            "AVAILABLE"
          ],
          "description": "The lifecycle status of the volume. AVAILABLE - The volume is fully available for use. CREATED - The volume has been created. CREATING - Amazon FSx is creating the new volume. DELETING - Amazon FSx is deleting an existing volume. FAILED - Amazon FSx was unable to create the volume. MISCONFIGURED - The volume is in a failed but recoverable state. PENDING - Amazon FSx hasn't started creating the volume."
        },
        "Name": {
          "type": "string",
          "description": "The name of the volume."
        },
        "OntapConfiguration": {
          "$ref": "#/$defs/OntapVolumeConfiguration"
        },
        "ResourceARN": {
          "type": "string"
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          }
        },
        "VolumeId": {
          "type": "string",
          "description": "The system-generated, unique ID of the volume."
        },
        "VolumeType": {
          "type": "string",
          "enum": [
            "ONTAP",
            "OPENZFS"
          ],
          "description": "The type of the volume."
        },
        "LifecycleTransitionReason": {
          "$ref": "#/$defs/LifecycleTransitionReason"
        },
        "AdministrativeActions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AdministrativeAction"
          },
          "description": "A list of administrative actions for the volume that are in process or waiting to be processed. Administrative actions describe changes to the volume that you have initiated using the UpdateVolume action."
        },
        "OpenZFSConfiguration": {
          "$ref": "#/$defs/OpenZFSVolumeConfiguration"
        }
      }
    },
    "WindowsAuditLogConfiguration": {
      "type": "object",
      "properties": {
        "FileAccessAuditLogLevel": {
          "type": "string",
          "enum": [
            "DISABLED",
            "SUCCESS_ONLY",
            "FAILURE_ONLY",
            "SUCCESS_AND_FAILURE"
          ],
          "description": "Sets which attempt type is logged by Amazon FSx for file and folder accesses. SUCCESS_ONLY - only successful attempts to access files or folders are logged. FAILURE_ONLY - only failed attempts to access files or folders are logged. SUCCESS_AND_FAILURE - both successful attempts and failed attempts to access files or folders are logged. DISABLED - access auditing of files and folders is turned off."
        },
        "FileShareAccessAuditLogLevel": {
          "type": "string",
          "enum": [
            "DISABLED",
            "SUCCESS_ONLY",
            "FAILURE_ONLY",
            "SUCCESS_AND_FAILURE"
          ],
          "description": "Sets which attempt type is logged by Amazon FSx for file share accesses. SUCCESS_ONLY - only successful attempts to access file shares are logged. FAILURE_ONLY - only failed attempts to access file shares are logged. SUCCESS_AND_FAILURE - both successful attempts and failed attempts to access file shares are logged. DISABLED - access auditing of file shares is turned off."
        },
        "AuditLogDestination": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the destination of the audit logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx prefix. The name of the Amazon Kinesis Data Firehose delivery stream must begin with the aws-fsx prefix. The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx file"
        }
      },
      "required": [
        "FileAccessAuditLogLevel",
        "FileShareAccessAuditLogLevel"
      ]
    },
    "WindowsFileSystemConfiguration": {
      "type": "object",
      "properties": {
        "ActiveDirectoryId": {
          "type": "string",
          "description": "The ID for an existing Amazon Web Services Managed Microsoft Active Directory instance that the file system is joined to."
        },
        "SelfManagedActiveDirectoryConfiguration": {
          "$ref": "#/$defs/SelfManagedActiveDirectoryAttributes"
        },
        "DeploymentType": {
          "type": "string",
          "enum": [
            "MULTI_AZ_1",
            "SINGLE_AZ_1",
            "SINGLE_AZ_2"
          ],
          "description": "Specifies the file system deployment type, valid values are the following: MULTI_AZ_1 - Specifies a high availability file system that is configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability, and supports SSD and HDD storage. SINGLE_AZ_1 - (Default) Specifies a file system that is configured for single AZ redundancy, only supports SSD storage. SINGLE_AZ_2 - Latest generation Single AZ file system. Specifies a file system that is configured for single AZ redundancy and supports SSD and HDD storage. For more information, see Single-AZ and Multi-AZ File S"
        },
        "RemoteAdministrationEndpoint": {
          "type": "string",
          "description": "For MULTI_AZ_1 deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this is the DNS name of the file system. This endpoint is temporarily unavailable when the file system is undergoing maintenance."
        },
        "PreferredSubnetId": {
          "type": "string",
          "description": "For MULTI_AZ_1 deployment types, it specifies the ID of the subnet where the preferred file server is located. Must be one of the two subnet IDs specified in SubnetIds property. Amazon FSx serves traffic from this subnet except in the event of a failover to the secondary file server. For SINGLE_AZ_1 and SINGLE_AZ_2 deployment types, this value is the same as that for SubnetIDs. For more information, see Availability and durability: Single-AZ and Multi-AZ file systems."
        },
        "PreferredFileServerIp": {
          "type": "string",
          "description": "For MULTI_AZ_1 deployment types, the IPv4 address of the primary, or preferred, file server. Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that are not joined to a Microsoft Active Directory. Applicable for all Windows file system deployment types. This IPv4 address is temporarily unavailable when the file system is undergoing maintenance. For Linux and Windows SMB clients that are joined to an Active Directory, use the file system's DNSName instead. For more information on mapping and mounting file shares, see Accessing data using file shares."
        },
        "ThroughputCapacity": {
          "type": "integer",
          "description": "The throughput of the Amazon FSx file system, measured in megabytes per second."
        },
        "MaintenanceOperationsInProgress": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "PATCHING",
              "BACKING_UP"
            ]
          },
          "description": "The list of maintenance operations in progress for this file system."
        },
        "WeeklyMaintenanceStartTime": {
          "type": "string",
          "description": "The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday."
        },
        "DailyAutomaticBackupStartTime": {
          "type": "string",
          "description": "The preferred time to take daily automatic backups, in the UTC time zone."
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer",
          "description": "The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days."
        },
        "CopyTagsToBackups": {
          "type": "boolean",
          "description": "A boolean flag indicating whether tags on the file system should be copied to backups. This value defaults to false. If it's set to true, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value is true, 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."
        },
        "Aliases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Alias"
          }
        },
        "AuditLogConfiguration": {
          "$ref": "#/$defs/WindowsAuditLogConfiguration"
        },
        "DiskIopsConfiguration": {
          "$ref": "#/$defs/DiskIopsConfiguration"
        },
        "PreferredFileServerIpv6": {
          "type": "string",
          "description": "For MULTI_AZ_1 deployment types, the IPv6 address of the primary, or preferred, file server. Use this IP address when mounting the file system on Linux SMB clients or Windows SMB clients that are not joined to a Microsoft Active Directory. Applicable for all Windows file system deployment types. This IPv6 address is temporarily unavailable when the file system is undergoing maintenance. For Linux and Windows SMB clients that are joined to an Active Directory, use the file system's DNSName instead."
        },
        "FsrmConfiguration": {
          "$ref": "#/$defs/WindowsFsrmConfiguration"
        }
      }
    },
    "WindowsFsrmConfiguration": {
      "type": "object",
      "properties": {
        "FsrmServiceEnabled": {
          "type": "boolean",
          "description": "Specifies whether FSRM is enabled or disabled on the file system. When TRUE, the FSRM service is enabled and monitor file operations according to configured policies. When FALSE or omitted, FSRM is disabled. The default value is FALSE."
        },
        "EventLogDestination": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the destination of the FSRM event logs. The destination can be any Amazon CloudWatch Logs log group ARN or Amazon Kinesis Data Firehose delivery stream ARN. The name of the Amazon CloudWatch Logs log group must begin with the /aws/fsx prefix. The name of the Amazon Kinesis Data Firehose delivery stream must begin with the aws-fsx prefix. The destination ARN (either CloudWatch Logs log group or Kinesis Data Firehose delivery stream) must be in the same Amazon Web Services partition, Amazon Web Services Region, and Amazon Web Services account as your Amazon FSx"
        }
      },
      "required": [
        "FsrmServiceEnabled"
      ]
    }
  }
}