{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-proton-environmenttemplate.json",
  "title": "AWSProtonEnvironmentTemplateProperties",
  "description": "Definition of AWS::Proton::EnvironmentTemplate Resource Type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-proton>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-proton-environmenttemplate.json",
    "sourceSha256": "78b33bb37dd665245cf4457435df6e3eba6556222f30223249989135c81621b9"
  },
  "type": "object",
  "properties": {
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 0
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A description of the environment template.</p>"
    },
    "DisplayName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The environment template name as displayed in the developer interface.</p>"
    },
    "EncryptionKey": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "pattern": "^arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\\d{12}:([\\w+=,.@-]+[/:])*[\\w+=,.@-]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A customer provided encryption key that Proton uses to encrypt data.</p>"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[0-9A-Za-z]+[0-9A-Za-z_\\-]*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Provisioning": {
      "$ref": "#/$defs/Provisioning"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "maxItems": 50,
      "minItems": 0,
      "uniqueItems": true,
      "description": "<p>An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.</p>\n         <p>For more information, see <a href=\"<https://docs.aws.amazon.com/proton/latest/userguide/resources.html>\">Proton resources and tagging</a> in the\n        <i>Proton User Guide</i>.</p>"
    }
  },
  "typeName": "AWS::Proton::EnvironmentTemplate",
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-proton",
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "createOnlyProperties": [
    "/properties/EncryptionKey",
    "/properties/Name",
    "/properties/Provisioning"
  ],
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "additionalIdentifiers": [
    [
      "/properties/Name"
    ]
  ],
  "$defs": {
    "Provisioning": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CUSTOMER_MANAGED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSProtonEnvironmentTemplateProvisioningDefinition"
    },
    "Tag": {
      "type": "object",
      "description": "<p>A description of a resource tag.</p>",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The key of the resource tag.</p>"
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 0
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The value of the resource tag.</p>"
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSProtonEnvironmentTemplateTagDefinition",
      "additionalProperties": false
    }
  }
}
