{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-lambda-layerversion.json",
  "title": "AWSLambdaLayerVersionProperties",
  "description": "Resource Type definition for AWS::Lambda::LayerVersion. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lambda.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-lambda-layerversion.json",
    "sourceSha256": "a1992e8268ba1208f6266f76577d04b4478dda731611ddc9fff29abad78af7d6"
  },
  "type": "object",
  "properties": {
    "CompatibleRuntimes": {
      "description": "A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.",
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "LicenseInfo": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The layer's software license."
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the version."
    },
    "LayerName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name or Amazon Resource Name (ARN) of the layer."
    },
    "Content": {
      "description": "The function layer archive.",
      "$ref": "#/$defs/Content"
    },
    "CompatibleArchitectures": {
      "description": "A list of compatible instruction set architectures.",
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    }
  },
  "typeName": "AWS::Lambda::LayerVersion",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lambda.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/LayerVersionArn"
  ],
  "$defs": {
    "Content": {
      "type": "object",
      "title": "AWSLambdaLayerVersionContentDefinition",
      "properties": {
        "S3ObjectVersion": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "For versioned objects, the version of the layer archive object to use."
        },
        "S3Bucket": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Amazon S3 bucket of the layer archive."
        },
        "S3Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Amazon S3 key of the layer archive."
        }
      },
      "required": [
        "S3Bucket",
        "S3Key"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "Content"
  ],
  "createOnlyProperties": [
    "/properties/CompatibleRuntimes",
    "/properties/LicenseInfo",
    "/properties/CompatibleArchitectures",
    "/properties/LayerName",
    "/properties/Description",
    "/properties/Content"
  ],
  "readOnlyProperties": [
    "/properties/LayerVersionArn"
  ],
  "writeOnlyProperties": [
    "/properties/Content"
  ]
}
