{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-simspaceweaver-simulation.json",
  "title": "AWSSimSpaceWeaverSimulationProperties",
  "description": "AWS::SimSpaceWeaver::Simulation resource creates an AWS Simulation.. 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-simspaceweaver-simulation.json",
    "sourceSha256": "f09a998ac5dac59102c59d28e6c78b1713e234046c0a30bbfb27ad2cd28e5931"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048,
          "pattern": "[a-zA-Z0-9_\\-]{1,2048}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the simulation."
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Role ARN."
    },
    "SchemaS3Location": {
      "$ref": "#/$defs/S3Location"
    },
    "MaximumDuration": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 2,
          "maxLength": 6
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The maximum running time of the simulation."
    },
    "SnapshotS3Location": {
      "$ref": "#/$defs/S3Location"
    }
  },
  "typeName": "AWS::SimSpaceWeaver::Simulation",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "propertyTransform": {
    "properties/MaximumDuration": "$uppercase(MaximumDuration)"
  },
  "required": [
    "Name",
    "RoleArn"
  ],
  "oneOf": [
    {
      "required": [
        "SchemaS3Location"
      ]
    },
    {
      "required": [
        "SnapshotS3Location"
      ]
    }
  ],
  "$defs": {
    "S3Location": {
      "type": "object",
      "properties": {
        "BucketName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 3,
              "maxLength": 63,
              "pattern": "[a-zA-Z0-9_\\-]{3,63}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Schema S3 bucket name."
        },
        "ObjectKey": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 3,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "This is the schema S3 object key, which includes the full path of \"folders\" from the bucket root to the schema."
        }
      },
      "required": [
        "BucketName",
        "ObjectKey"
      ],
      "title": "AWSSimSpaceWeaverSimulationS3LocationDefinition",
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/DescribePayload"
  ],
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/RoleArn",
    "/properties/SchemaS3Location",
    "/properties/SnapshotS3Location",
    "/properties/MaximumDuration"
  ],
  "primaryIdentifier": [
    "/properties/Name"
  ]
}
