{
 "additionalProperties": false,
 "definitions": {
  "Days": {
   "minimum": 1,
   "type": "integer"
  },
  "EncryptionConfiguration": {
   "additionalProperties": false,
   "properties": {
    "KmsKeyId": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Expiration": {
   "additionalProperties": false,
   "properties": {
    "Days": {
     "$ref": "#/definitions/Days"
    }
   },
   "type": "object"
  },
  "LifecycleConfiguration": {
   "additionalProperties": false,
   "properties": {
    "Expiration": {
     "$ref": "#/definitions/Expiration"
    },
    "Transitions": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Transitions"
     },
     "type": "array",
     "uniqueItems": false
    }
   },
   "type": "object"
  },
  "Regions": {
   "insertionOrder": false,
   "items": {
    "pattern": "^(us(-gov)?|af|ap|ca|eu|me|sa)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-\\d+$",
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  },
  "ReplicationConfiguration": {
   "additionalProperties": false,
   "properties": {
    "Regions": {
     "$ref": "#/definitions/Regions"
    },
    "RoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "pattern": "^arn:.*$",
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "Transitions": {
   "additionalProperties": false,
   "properties": {
    "Days": {
     "minimum": 1,
     "type": "integer"
    },
    "StorageClass": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "maxLength": 1011,
   "minLength": 1,
   "type": "string"
  },
  "EncryptionConfiguration": {
   "$ref": "#/definitions/EncryptionConfiguration"
  },
  "LifecycleConfiguration": {
   "$ref": "#/definitions/LifecycleConfiguration"
  },
  "MetaStoreManagerRoleArn": {
   "pattern": "^arn:.*$",
   "type": "string"
  },
  "ReplicationConfiguration": {
   "$ref": "#/definitions/ReplicationConfiguration"
  },
  "S3BucketArn": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/S3BucketArn"
 ],
 "replacementStrategy": "delete_then_create",
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-securitylake.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::SecurityLake::DataLake",
 "writeOnlyProperties": [
  "/properties/MetaStoreManagerRoleArn"
 ]
}
