{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-fsx-volume.json",
  "title": "AWSFSxVolumeProperties",
  "description": "Resource Type definition for AWS::FSx::Volume. 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-volume.json",
    "sourceSha256": "c4396131c88982c5eb1f4912a76c70e0137ef46ce017a913d34dbcb6f34a010a"
  },
  "type": "object",
  "properties": {
    "OpenZFSConfiguration": {
      "$ref": "#/$defs/OpenZFSConfiguration"
    },
    "VolumeType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "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"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::FSx::Volume",
  "readOnlyProperties": [
    "/properties/ResourceARN",
    "/properties/VolumeId",
    "/properties/UUID"
  ],
  "$defs": {
    "OpenZFSConfiguration": {
      "type": "object",
      "title": "AWSFSxVolumeOpenZFSConfigurationDefinition",
      "properties": {
        "ReadOnly": {
          "type": "boolean"
        },
        "Options": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "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"
          }
        },
        "StorageCapacityQuotaGiB": {
          "type": "integer"
        },
        "CopyTagsToSnapshots": {
          "type": "boolean"
        },
        "ParentVolumeId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "StorageCapacityReservationGiB": {
          "type": "integer"
        },
        "RecordSizeKiB": {
          "type": "integer"
        },
        "OriginSnapshot": {
          "$ref": "#/$defs/OriginSnapshot"
        },
        "UserAndGroupQuotas": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/UserAndGroupQuotas"
          }
        }
      },
      "required": [
        "ParentVolumeId"
      ],
      "additionalProperties": false
    },
    "TieringPolicy": {
      "type": "object",
      "title": "AWSFSxVolumeTieringPolicyDefinition",
      "properties": {
        "CoolingPeriod": {
          "type": "integer"
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "NfsExports": {
      "type": "object",
      "title": "AWSFSxVolumeNfsExportsDefinition",
      "properties": {
        "ClientConfigurations": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/ClientConfigurations"
          }
        }
      },
      "required": [
        "ClientConfigurations"
      ],
      "additionalProperties": false
    },
    "OntapConfiguration": {
      "type": "object",
      "title": "AWSFSxVolumeOntapConfigurationDefinition",
      "properties": {
        "JunctionPath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "StorageVirtualMachineId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SnapshotPolicy": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TieringPolicy": {
          "$ref": "#/$defs/TieringPolicy"
        },
        "StorageEfficiencyEnabled": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SizeInMegabytes": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CopyTagsToBackups": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SecurityStyle": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "OntapVolumeType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "StorageVirtualMachineId",
        "SizeInMegabytes"
      ],
      "additionalProperties": false
    },
    "ClientConfigurations": {
      "type": "object",
      "title": "AWSFSxVolumeClientConfigurationsDefinition",
      "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"
          }
        }
      },
      "required": [
        "Options",
        "Clients"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSFSxVolumeTagDefinition",
      "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
    },
    "OriginSnapshot": {
      "type": "object",
      "title": "AWSFSxVolumeOriginSnapshotDefinition",
      "properties": {
        "SnapshotARN": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CopyStrategy": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "CopyStrategy",
        "SnapshotARN"
      ],
      "additionalProperties": false
    },
    "UserAndGroupQuotas": {
      "type": "object",
      "title": "AWSFSxVolumeUserAndGroupQuotasDefinition",
      "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"
        }
      },
      "required": [
        "Type",
        "Id",
        "StorageCapacityQuotaGiB"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/VolumeId"
  ],
  "additionalProperties": false,
  "required": [
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/BackupId",
    "/properties/VolumeType"
  ]
}
