ExistingObjectReplication param in s3-client putBucketReplication not working? #5244
-
I am using aws-sdk v3 in a lambda running nodejs18.x. Am I using it wrong or is it a bug in the library? Code:
Using ExistingObjectReplication throws: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The documentation points to a parameter "ExistingObjectReplication" that is legacy. Example:
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
The documentation points to a parameter "ExistingObjectReplication" that is legacy.
I had to use the S3 Control to create a job for this. See here: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3Control.html#createJob-property
Example: