{
  "typeName" : "AWS::RoboMaker::SimulationApplicationVersion",
  "description" : "AWS::RoboMaker::SimulationApplicationVersion resource creates an AWS RoboMaker SimulationApplicationVersion. This helps you control which code your simulation uses.",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "definitions" : {
    "Arn" : {
      "type" : "string",
      "pattern" : "arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*"
    }
  },
  "properties" : {
    "Application" : {
      "$ref" : "#/definitions/Arn"
    },
    "CurrentRevisionId" : {
      "description" : "The revision ID of robot application.",
      "type" : "string",
      "minLength" : 1,
      "maxLength" : 40,
      "pattern" : "[a-zA-Z0-9_.\\-]*"
    },
    "ApplicationVersion" : {
      "type" : "string"
    },
    "Arn" : {
      "$ref" : "#/definitions/Arn"
    }
  },
  "additionalProperties" : false,
  "required" : [ "Application" ],
  "readOnlyProperties" : [ "/properties/ApplicationVersion", "/properties/Arn" ],
  "primaryIdentifier" : [ "/properties/Arn" ],
  "createOnlyProperties" : [ "/properties/Application", "/properties/CurrentRevisionId" ],
  "taggable" : false,
  "handlers" : {
    "create" : {
      "permissions" : [ "robomaker:CreateSimulationApplicationVersion", "s3:GetObject", "ecr:BatchGetImage", "ecr:GetAuthorizationToken", "ecr:BatchCheckLayerAvailability", "ecr-public:GetAuthorizationToken", "sts:GetServiceBearerToken" ]
    },
    "delete" : {
      "permissions" : [ "robomaker:DeleteSimulationApplication", "robomaker:DescribeSimulationApplication" ]
    },
    "read" : {
      "permissions" : [ "robomaker:DescribeSimulationApplication" ]
    }
  }
}