{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-fsx-filesystem.json",
  "title": "AWSFSxFileSystemProperties",
  "description": "Resource Type definition for AWS::FSx::FileSystem. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-fsx-filesystem.json",
    "sourceSha256": "f5fdb772a038926681244359884db71901642aa27c6ca0e1cf40427377d0c98b"
  },
  "type": "object",
  "properties": {
    "StorageType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "KmsKeyId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "StorageCapacity": {
      "type": "integer"
    },
    "LustreConfiguration": {
      "$ref": "#/$defs/LustreConfiguration"
    },
    "BackupId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "OntapConfiguration": {
      "$ref": "#/$defs/OntapConfiguration"
    },
    "SubnetIds": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "SecurityGroupIds": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "WindowsConfiguration": {
      "$ref": "#/$defs/WindowsConfiguration"
    },
    "FileSystemTypeVersion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "OpenZFSConfiguration": {
      "$ref": "#/$defs/OpenZFSConfiguration"
    },
    "FileSystemType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::FSx::FileSystem",
  "readOnlyProperties": [
    "/properties/ResourceARN",
    "/properties/Id",
    "/properties/LustreMountName",
    "/properties/RootVolumeId",
    "/properties/DNSName"
  ],
  "$defs": {
    "OpenZFSConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemOpenZFSConfigurationDefinition",
      "properties": {
        "Options": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "WeeklyMaintenanceStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DiskIopsConfiguration": {
          "$ref": "#/$defs/DiskIopsConfiguration"
        },
        "CopyTagsToVolumes": {
          "type": "boolean"
        },
        "DeploymentType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DailyAutomaticBackupStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CopyTagsToBackups": {
          "type": "boolean"
        },
        "ThroughputCapacity": {
          "type": "integer"
        },
        "RootVolumeConfiguration": {
          "$ref": "#/$defs/RootVolumeConfiguration"
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        }
      },
      "required": [
        "DeploymentType"
      ],
      "additionalProperties": false
    },
    "SelfManagedActiveDirectoryConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemSelfManagedActiveDirectoryConfigurationDefinition",
      "properties": {
        "FileSystemAdministratorsGroup": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "UserName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DomainName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "OrganizationalUnitDistinguishedName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DnsIps": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "Password": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "AuditLogConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemAuditLogConfigurationDefinition",
      "properties": {
        "FileAccessAuditLogLevel": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "FileShareAccessAuditLogLevel": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AuditLogDestination": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "FileAccessAuditLogLevel",
        "FileShareAccessAuditLogLevel"
      ],
      "additionalProperties": false
    },
    "DiskIopsConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemDiskIopsConfigurationDefinition",
      "properties": {
        "Mode": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Iops": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "LustreConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemLustreConfigurationDefinition",
      "properties": {
        "DriveCacheType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AutoImportPolicy": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ImportedFileChunkSize": {
          "type": "integer"
        },
        "DeploymentType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DataCompressionType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ImportPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "WeeklyMaintenanceStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DailyAutomaticBackupStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CopyTagsToBackups": {
          "type": "boolean"
        },
        "ExportPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "PerUnitStorageThroughput": {
          "type": "integer"
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "NfsExports": {
      "type": "object",
      "title": "AWSFSxFileSystemNfsExportsDefinition",
      "properties": {
        "ClientConfigurations": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/ClientConfigurations"
          }
        }
      },
      "additionalProperties": false
    },
    "OntapConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemOntapConfigurationDefinition",
      "properties": {
        "FsxAdminPassword": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RouteTableIds": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "WeeklyMaintenanceStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DiskIopsConfiguration": {
          "$ref": "#/$defs/DiskIopsConfiguration"
        },
        "DeploymentType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DailyAutomaticBackupStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ThroughputCapacity": {
          "type": "integer"
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        },
        "EndpointIpAddressRange": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "PreferredSubnetId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "DeploymentType"
      ],
      "additionalProperties": false
    },
    "ClientConfigurations": {
      "type": "object",
      "title": "AWSFSxFileSystemClientConfigurationsDefinition",
      "properties": {
        "Clients": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Options": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSFSxFileSystemTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    },
    "RootVolumeConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemRootVolumeConfigurationDefinition",
      "properties": {
        "ReadOnly": {
          "type": "boolean"
        },
        "DataCompressionType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "NfsExports": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/NfsExports"
          }
        },
        "CopyTagsToSnapshots": {
          "type": "boolean"
        },
        "RecordSizeKiB": {
          "type": "integer"
        },
        "UserAndGroupQuotas": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/UserAndGroupQuotas"
          }
        }
      },
      "additionalProperties": false
    },
    "WindowsConfiguration": {
      "type": "object",
      "title": "AWSFSxFileSystemWindowsConfigurationDefinition",
      "properties": {
        "SelfManagedActiveDirectoryConfiguration": {
          "$ref": "#/$defs/SelfManagedActiveDirectoryConfiguration"
        },
        "AuditLogConfiguration": {
          "$ref": "#/$defs/AuditLogConfiguration"
        },
        "WeeklyMaintenanceStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ActiveDirectoryId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DeploymentType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Aliases": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "ThroughputCapacity": {
          "type": "integer"
        },
        "CopyTagsToBackups": {
          "type": "boolean"
        },
        "DailyAutomaticBackupStartTime": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AutomaticBackupRetentionDays": {
          "type": "integer"
        },
        "PreferredSubnetId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ThroughputCapacity"
      ],
      "additionalProperties": false
    },
    "UserAndGroupQuotas": {
      "type": "object",
      "title": "AWSFSxFileSystemUserAndGroupQuotasDefinition",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Id": {
          "type": "integer"
        },
        "StorageCapacityQuotaGiB": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "FileSystemType",
    "SubnetIds"
  ],
  "createOnlyProperties": [
    "/properties/KmsKeyId",
    "/properties/StorageType",
    "/properties/SecurityGroupIds",
    "/properties/FileSystemTypeVersion",
    "/properties/FileSystemType",
    "/properties/SubnetIds",
    "/properties/BackupId"
  ]
}
