-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[S3]Add Eventbridge notification for object storage class change #8046
base: master
Are you sure you want to change the base?
[S3]Add Eventbridge notification for object storage class change #8046
Conversation
Hey @bblommers! |
Hi @MikiPWata! If I'm reading the documentation right, there are three scenario's where the StorageClass is set in AWS:
We can ignore 1, because that's not a change. Number 3 is irrelevant, because we don't act on the lifecycle rules. So we only have to worry about number 2, the copy operation - and because that's not yet implemented, we have full control on how we do that. Am I correct so far, or have a missed a scenario? If it's just the copy that we have to worry about, than it makes sense to use a |
Hey @bblommers!
As I'm not that proficient in getters and setters, would love to get some advice on that. thanks in advance |
That's odd @MikiPWata. The Can you push what you have so far? That would make debugging a little easier. |
@bblommers |
Ah, I understand @MikiPWata. The indentation of both the getter and setter is wrong, I guess that broke things in a weird way. If you indent both methods to make it part of the class, the other tests do pass. |
Fixed storage_class change eventbridge notification test case accordingly
send eventbridge notification when object's storage class changes
#7363