{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-efs-filesystem.json",
  "title": "AWSEFSFileSystemProperties",
  "description": "Resource Type definition for AWS::EFS::FileSystem. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-efs-filesystem.json",
    "sourceSha256": "978d1750a2a44a9382862936cc5c29f7db8378680324efceb8219120c6c991d3"
  },
  "type": "object",
  "properties": {
    "Encrypted": {
      "type": "boolean"
    },
    "FileSystemTags": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/ElasticFileSystemTag"
      }
    },
    "KmsKeyId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "LifecyclePolicies": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/LifecyclePolicy"
      }
    },
    "PerformanceMode": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ProvisionedThroughputInMibps": {
      "type": "number"
    },
    "ThroughputMode": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "FileSystemPolicy": {
      "type": "object"
    },
    "BypassPolicyLockoutSafetyCheck": {
      "description": "Whether to bypass the FileSystemPolicy lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request to be locked out from making future PutFileSystemPolicy requests on the file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the principal that is making the request from making a subsequent PutFileSystemPolicy request on the file system. Defaults to false",
      "type": "boolean"
    },
    "BackupPolicy": {
      "$ref": "#/$defs/BackupPolicy"
    },
    "AvailabilityZoneName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::EFS::FileSystem",
  "propertyTransform": {
    "/properties/KmsKeyId": "\"arn:aws[-a-z]*:kms:[a-z0-9-]+:[0-9]{12}:key/[a-zA-Z0-9-]+\""
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/KmsKeyId",
    "/properties/Encrypted",
    "/properties/PerformanceMode",
    "/properties/AvailabilityZoneName"
  ],
  "$defs": {
    "ElasticFileSystemTag": {
      "type": "object",
      "title": "AWSEFSFileSystemElasticFileSystemTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "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
    },
    "LifecyclePolicy": {
      "type": "object",
      "title": "AWSEFSFileSystemLifecyclePolicyDefinition",
      "properties": {
        "TransitionToIA": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TransitionToPrimaryStorageClass": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "BackupPolicy": {
      "type": "object",
      "title": "AWSEFSFileSystemBackupPolicyDefinition",
      "properties": {
        "Status": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Status"
      ],
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/FileSystemId",
    "/properties/Arn"
  ],
  "primaryIdentifier": [
    "/properties/FileSystemId"
  ],
  "writeOnlyProperties": [
    "/properties/BypassPolicyLockoutSafetyCheck"
  ]
}
