{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/FsxFilesystemArn",
  "/properties/SecurityGroupArns"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "^[a-zA-Z0-9\\s+=._:/-]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "^[a-zA-Z0-9\\s+=._:@/-]+$",
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/LocationArn"
 ],
 "properties": {
  "FsxFilesystemArn": {
   "maxLength": 128,
   "minLength": 0,
   "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-eusc|aws-iso|aws-iso-b):fsx:[a-z\\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$",
   "type": "string"
  },
  "LocationArn": {
   "maxLength": 128,
   "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-eusc|aws-iso|aws-iso-b):datasync:[a-z\\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$",
   "type": "string"
  },
  "LocationUri": {
   "maxLength": 4356,
   "pattern": "^(efs|nfs|s3|smb|fsxw|hdfs|fsxl)://[a-zA-Z0-9.:/\\-]+$",
   "type": "string"
  },
  "SecurityGroupArns": {
   "insertionOrder": false,
   "items": {
    "maxLength": 128,
    "minLength": 0,
    "pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-eusc|aws-iso|aws-iso-b):ec2:[a-z\\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$",
    "type": "string"
   },
   "maxItems": 5,
   "minItems": 1,
   "type": "array"
  },
  "Subdirectory": {
   "maxLength": 4096,
   "minLength": 0,
   "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/LocationArn",
  "/properties/LocationUri"
 ],
 "required": [
  "SecurityGroupArns"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-datasync.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::DataSync::LocationFSxLustre",
 "writeOnlyProperties": [
  "/properties/Subdirectory",
  "/properties/FsxFilesystemArn"
 ]
}
