{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-licensemanager-grant.json",
  "title": "AWSLicenseManagerGrantProperties",
  "description": "An example resource schema demonstrating some basic constructs and validation rules.. 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-licensemanager-grant.json",
    "sourceSha256": "c4d941667077b3191d96c6af44998560c1ba3ea647c729bfab1787d427ea5427"
  },
  "type": "object",
  "properties": {
    "GrantName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name for the created Grant."
    },
    "LicenseArn": {
      "description": "License Arn for the grant.",
      "$ref": "#/$defs/Arn"
    },
    "HomeRegion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Home region for the created grant."
    },
    "AllowedOperations": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string"
      }
    },
    "Principals": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Arn"
      }
    },
    "Status": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::LicenseManager::Grant",
  "primaryIdentifier": [
    "/properties/GrantArn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "writeOnlyProperties": [
    "/properties/Principals",
    "/properties/AllowedOperations",
    "/properties/Status"
  ],
  "$defs": {
    "Arn": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSLicenseManagerGrantArnDefinition"
    }
  },
  "required": [],
  "readOnlyProperties": [
    "/properties/GrantArn",
    "/properties/Version"
  ]
}
