Skip to content

Instantly share code, notes, and snippets.

@jcdan3
Last active November 27, 2021 04:28
Show Gist options
  • Save jcdan3/08c144c4c65a8b147ff2759cb5e02e3a to your computer and use it in GitHub Desktop.
Save jcdan3/08c144c4c65a8b147ff2759cb5e02e3a to your computer and use it in GitHub Desktop.
tags := map[string]string{
"Environment": "production",
}
mySQS := sqs.NewSqsQueue("testStack", jsii.String("terraform_queue"), &sqs.SqsQueueConfig{
Name: jsii.String("terraform-example-queue"),
DelaySeconds: jsii.Number(90),
MaxMessageSize: jsii.Number(2048),
MessageRetentionSeconds: jsii.Number(86400),
ReceiveWaitTimeSeconds: jsii.Number(10),
Tags: &tags,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment