git clone git@github.com:aws-samples/sample-batch-ops-parallelization.git
Make sure you are authenticated to your account with enough privileges to create IAM roles, and you are on AWS region us-west-2 then cd into the repository's lib directory and run the deploy.sh command
(Assuming you have cloned the repository into the BOPSParallelization)
cd ./BOPSParallelization/lib
sh ./deploy.sh
Find the lambda function called "BOPSParallelMainHandler" and modify and add the following to the test:
{
"workflow": {
"workflowName": "testWorkflowName",
"namespaceID": "testNameSpaceID",
"workflowType": "S3_REPLICATION",
"sourceBucketARN": "arn:aws:s3:::{source_bucket_name}",
"destBucketARN": "arn:aws:s3:::{dest_bucket_name}",
"sourceRoleARN": "arn:aws:iam::{account_id}:role/s3a-bucket-permissions",
"destRoleARN": "arn:aws:iam::{account_id}:role/s3a-bucket-permissions",
"sourceAccountNumber": "{account_id}",
"destAccountNumber": "{account_id}",
"sourceRegion": "{source_bucket_region}",
"destRegion": "{dest_bucket_region}"
}
}
Then go to the step function called "S3AWorkflow" and click start execution and add the following:
{
"workflowName": "testWorkflowName"
"namespaceID": "testNameSpaceID",
}
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.