aws s3api put-bucket-notification
This operation is not supported for directory buckets. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--bucketThe name of the bucket.--checksum-algorithmIndicates the algorithm used to create the checksum for the request when you use the SDK.--content-md5The MD5 hash of the PutPublicAccessBlock request body.--expected-bucket-ownerThe account ID of the expected bucket owner.--notification-configurationThe container for the configuration.