https://pulumi.com logo
#aws
Title
# aws
g

gorgeous-lunch-7514

12/04/2023, 11:33 AM
Copy code
const xxxxQueue = new aws.sqs.Queue(`${xxxName}-queue`, {
  fifoQueue: true,
  contentBasedDeduplication: true,
  visibilityTimeoutSeconds: 5400,  // 6 * function timeout
  redrivePolicy: pulumi.interpolate`{
    "deadLetterTargetArn": "${xxxxDeadLetterQueue.arn}",
    "maxReceiveCount": "3"
  }
`
}, {
  customTimeouts: {
    update: "30m",
  }
});
example queue init