Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

178
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda