# checkCloudStorageFolderExists

State Resource

This is a State Resource as provided by the tymly-cloudstorage-plugin plugin.

# Purpose

Checks that the folder at the specified path exists.

# Usage

# Example

{
  "CheckCloudStorageFolderExists": {
    "Type": "Task",
    "Resource": "module:checkCloudStorageFolderExists",
    "ResourceConfig": {
      "provider": "provider",
      "remoteFolderRoot": "Shared Documents"
    },
    "Parameters": {
      "remoteFolderPath": "1234567890/Audit/Photos"
    },
    "ResultPath": "$.sharepointMeta",
    "Next": "GetSharepointContents",
    "Catch": [
      {
        "ErrorEquals": [
          "States.ALL"
        ],
        "End": true
      }
    ]
  }
}

# Options

# Optional properties

# provider

The id of a plugin that interacts with a Document Management System. For example 'sharepoint', 'alfresco' etc.

  • Type: string

# remoteFolderRoot

  • Type: string