{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-nimblestudio-studio.json",
  "title": "AWSNimbleStudioStudioProperties",
  "description": "Represents a studio that contains other Nimble Studio resources. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-nimblestudio-studio.json",
    "sourceSha256": "f8c92a286f575b2148ccdd9505769a4bb82cebc1bb3d6780a2d556bca9168063"
  },
  "type": "object",
  "properties": {
    "AdminRoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.</p>"
    },
    "DisplayName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A friendly name for the studio.</p>"
    },
    "StudioEncryptionConfiguration": {
      "$ref": "#/$defs/StudioEncryptionConfiguration"
    },
    "StudioName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 64,
          "minLength": 3,
          "pattern": "^[a-z0-9]*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.</p>"
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    },
    "UserRoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.</p>"
    }
  },
  "typeName": "AWS::NimbleStudio::Studio",
  "$defs": {
    "StudioEncryptionConfiguration": {
      "type": "object",
      "description": "<p>Configuration of the encryption method that is used for the studio.</p>",
      "properties": {
        "KeyType": {
          "$ref": "#/$defs/StudioEncryptionConfigurationKeyType"
        },
        "KeyArn": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 4,
              "pattern": "^arn:.*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The ARN for a KMS key that is used to encrypt studio data.</p>"
        }
      },
      "required": [
        "KeyType"
      ],
      "title": "AWSNimbleStudioStudioStudioEncryptionConfigurationDefinition",
      "additionalProperties": false
    },
    "StudioEncryptionConfigurationKeyType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "AWS_OWNED_KEY",
            "CUSTOMER_MANAGED_KEY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The type of KMS key that is used to encrypt studio data.</p>",
      "title": "AWSNimbleStudioStudioStudioEncryptionConfigurationKeyTypeDefinition"
    },
    "Tags": {
      "type": "object",
      "description": "",
      "additionalProperties": false,
      "title": "AWSNimbleStudioStudioTagsDefinition",
      "patternProperties": {
        ".+": {
          "type": "string"
        }
      }
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio",
  "additionalProperties": false,
  "required": [
    "DisplayName",
    "UserRoleArn",
    "AdminRoleArn",
    "StudioName"
  ],
  "readOnlyProperties": [
    "/properties/HomeRegion",
    "/properties/SsoClientId",
    "/properties/StudioId",
    "/properties/StudioUrl"
  ],
  "createOnlyProperties": [
    "/properties/StudioName",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/StudioId"
  ]
}
