Monday 13 Mar 2023

Object lock

US East (Ohio) us-east-2

Need 12 digitical amazon code
name of bucket

Create the batch operation policy IAM (https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html)

permissions

create a new "role" in IAM and no need to attach policy for now, just skip past.

Generate polocy

{
"Id": "Policy1678649094992",
"Version": "2012-10-17",
"Statement": [

{
"Sid": "Stmt1678649091626",
"Action": [
"s3:PutInventoryConfiguration"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::BUCKET-NAME",
"Principal": "*"
}
]
}

Operation type
Choose the operation that you want to perform on all objects listed in the manifest.
Choose replication (only option)