{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-nimblestudio-streamingimage.json",
  "title": "AWSNimbleStudioStreamingImageProperties",
  "description": "Represents a streaming session machine image that can be used to launch a streaming session. 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-streamingimage.json",
    "sourceSha256": "d602cc5a7e1f01789b7b4d5d45a0a830ed65655e31887d5c0e63e859f52140cc"
  },
  "type": "object",
  "properties": {
    "Description": {
      "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>A human-readable description of the streaming image.</p>"
    },
    "Ec2ImageId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^ami-[0-9A-z]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The ID of an EC2 machine image with which to create this streaming image.</p>"
    },
    "Name": {
      "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 a streaming image resource.</p>"
    },
    "StudioId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The studioId. </p>"
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "typeName": "AWS::NimbleStudio::StreamingImage",
  "$defs": {
    "StreamingImageEncryptionConfiguration": {
      "type": "object",
      "description": "<p>TODO</p>",
      "properties": {
        "KeyType": {
          "$ref": "#/$defs/StreamingImageEncryptionConfigurationKeyType"
        },
        "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": "AWSNimbleStudioStreamingImageStreamingImageEncryptionConfigurationDefinition",
      "additionalProperties": false
    },
    "StreamingImageEncryptionConfigurationKeyType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CUSTOMER_MANAGED_KEY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p/>",
      "title": "AWSNimbleStudioStreamingImageStreamingImageEncryptionConfigurationKeyTypeDefinition"
    },
    "Tags": {
      "type": "object",
      "description": "",
      "additionalProperties": false,
      "title": "AWSNimbleStudioStreamingImageTagsDefinition",
      "patternProperties": {
        ".+": {
          "type": "string"
        }
      }
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-nimblestudio",
  "additionalProperties": false,
  "required": [
    "StudioId",
    "Ec2ImageId",
    "Name"
  ],
  "readOnlyProperties": [
    "/properties/EncryptionConfiguration",
    "/properties/EulaIds",
    "/properties/Owner",
    "/properties/Platform",
    "/properties/StreamingImageId"
  ],
  "createOnlyProperties": [
    "/properties/Ec2ImageId",
    "/properties/StudioId",
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/StudioId",
    "/properties/StreamingImageId"
  ]
}
