# module "rti_notifications_bucket" {
#   source = "../../../modules/s3/private_bucket_with_logs_aes256"
#
#   bucket_name        = "${local.name_prefix}-notifications"
#   logs_bucket_id     = data.aws_s3_bucket.security_logs.id
#   logs_object_prefix = "${local.name_prefix}/notifications/"
#   default_policy     = true
#
#   common_tags = merge(
#     local.common_tags,
#     {
#       project                  = "User Preferences",
#       service                  = "S3",
#       plat_env_project_service = "${local.aggregated_tag}_UP_S3"
#     }
#   )
# }

#resource "aws_s3_bucket_notification" "rti_notifications_bucket_notifications" {
#  bucket = module.rti_notifications_bucket.bucket.id
#
#  queue {
#    queue_arn = module.notifications_queue.queue.arn
#    events    = ["s3:ObjectCreated:*"]
#  }
#}

# module "rti_notifications_bucket_ro_policy" {
#   source       = "../../../modules/iam/policies/s3/buckets_ro"
#   bucket_masks = [module.rti_notifications_bucket.bucket.id]
#   name         = "notifications-s3-ro"
#   name_prefix  = local.name_prefix
# }
