Sample OCH configuration in JSON format

Contains a sample OCH JSON format configuration.

The following is a sample OCH configuration in JSON format.

{
  "name": "<copier-name>",
  "isSQSListener": "<true if using SQS listener, false if using Kafka>",
  "enableMultipart": "<optional: true to enable multipart copy for large objects, default: false>",
  "multipartThreshold": "<optional: minimum object size in bytes to trigger multipart copy, default: 524288000 (500MB)>",
  "multipartSize": "<optional: size of each part in bytes during multipart copy, default: 104857600 (100MB)>",
  "multipartConcurrency": "<optional: number of concurrent part uploads, default: 10>",
  "sqsConfig": {
    "queueUrl": "<SQS queue URL, for example, https://sqs.us-east-1.amazonaws.com/123456789/queue-name>",
    "awsConfig": {
      "awsRegion": "<AWS region for SQS, e.g. us-east-1>",
      "awsAccessKey": "<AWS access key ID for SQS access>",
      "awsSecretKey": "<AWS secret access key for SQS access>",
      "roleArn": "<optional: IAM role ARN to assume for SQS access>"
    }
  },
  "kafkaConfig": {
    "topics": [
      "/var/objstore/event-stream:event-topic>"
    ]
  },
  "sourceClient": {
    "isAWS": "<true if source is AWS S3, false if source is DataFabric>",
    "awsConfig": {
      "awsRegion": "<AWS region for source S3 bucket>",
      "awsAccessKey": "<AWS access key ID for source S3 access>",
      "awsSecretKey": "<AWS secret access key for source S3 access>",
      "roleArn": "<optional: IAM role ARN to assume for source S3 access>"
    },
    "dfConfig": {
      "accessKey": "<DataFabric access key for source>",
      "secretKey": "<DataFabric secret key for source>",
      "endpoint": "<https://hostname:9000>",
      "chainCA": "<path to CA certificate chain file for source endpoint>"
    }
  },
  "destClient": {
    "dfConfig": {
      "accessKey": "<DataFabric access key for destination>",
      "secretKey": "<DataFabric secret key for destination>",
      "endpoint": "https://hostname:9000>",
      "chainCA": "<path to CA certificate chain file for destination endpoint>"
    }
  },
  "bucketMap": [
    {
      "sourceBucket": "<source bucket name to listen for events>",
      "destBucket": "<destination bucket name to copy objects to>"
    }
  ]
}