The Modify S3 Objects action can be used to modify properties of many S3 objects. Either all objects can be modified, or objects restricted by a specific key prefix.
For example, modify all objects in the bucket to turn on AES256 encryption and Reduced Redundancy.
The Modify S3 Objects action includes a "test mode" as a way of determining which objects will be modified without actually modifying the objects. This way, you can fine tune your action without concern for modifying the wrong objects.
When test mode is enabled, execute your action normally then check the action logs to verify that only objects that should have been modified would have been modified, and that objects that should not have been modifiedwould not have been modified.
When you are satisfied, disable Test Mode.
Please see Common Action Settings for a description of settings common to all action types.
Name of the bucket in which the objects will be modified.
Optional. Only objects with the specified prefix will be modified.
Indicates whether the object's server-side encryption will be modified. Possible options are:
No change - The object's server-side encryption will not be modified.
None - The object's server-side encryption will be set to "None".
AES-256 - The object's server-side encryption will be set to "AES-256".
Indicates whether the object's storage class will be modified. Possible options are:
No change - The object's storage class will not be modified.
Standard - The object's storage class will be set to "Standard".
Reduced Redundancy - The object's storage class will be set to "Reduced Redundancy".
Glacier - The object's storage class will be set to "Glacier".
Enables and disabled Test Mode (see above).
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.