Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

177
Vistas
Value of property QueueConfigurations must be of type List

I am trying to write SQS triggers for my S3 bucket. I am running into an error saying "Value of property QueueConfigurations must be of type List." Is there something wrong with my indentation/formatting? Or is it a content error? I recently had to transcribe this from YAML to JSON, and I could really use a second pair of eyes on this issue. Keep in mind that the reason the codeblock below is so indented is because I have some sensitive info I shouldn't post. Thanks in advance!

          "NotificationConfiguration" : {
              "QueueConfigurations" : {
                "Id" : "1",
                "Event" : "s3:ObjectCreated:*",
                "Filter" : { 
                  "S3Key" : {
                    "Rules" : {
                      "Name" : "prefix",
                      "Value" : "prod_hvr/cdc/"
                    }
                  }
                },
                "Queue" : "arn:aws:sqs:us-east-1:958262988361:interstate-cdc_feeder_prod_hvr_dev"
              },   
              "QueueConfigurations" : {
                "Id" : "2",
                "Event" : "s3:ObjectCreated:*",
                "Filter" : { 
                  "S3Key" : {
                    "Rules" : {
                      "Name" : "prefix",
                      "Value" : "prod_hvr/latency/"
                    }
                  }
                },
                "Queue" : "arn:aws:sqs:us-east-1:958262988361:interstate-latency_hvr_dev"
              }
            }   

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

It should be something like below. And as per this docs, "Id" is not a valid attribute.

{
  "NotificationConfiguration": {
    "QueueConfigurations": [
      {
        "Event": "s3:ObjectCreated:*",
        "Filter": {
          "S3Key": {
            "Rules": {
              "Name": "prefix",
              "Value": "prod_hvr/cdc/"
            }
          }
        },
        "Queue": "arn:aws:sqs:us-east-1:958262988361:interstate-cdc_feeder_prod_hvr_dev"
      },
      {
        "Event": "s3:ObjectCreated:*",
        "Filter": {
          "S3Key": {
            "Rules": {
              "Name": "prefix",
              "Value": "prod_hvr/latency/"
            }
          }
        },
        "Queue": "arn:aws:sqs:us-east-1:958262988361:interstate-latency_hvr_dev"
      }
    ]
  }
}
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda