Configuring aws lambda error handling behavior

Noob question here.
I’ve configured a few aws_lambda_fucntions successfully. From the AWS console, I have the ability to set the error handling behavior (retry, send to dead-letter queue). From Terraform, I can see how to configure the dead-letter queue, but I don’t see where I can configure retry attempts.
Is this feature not supported or am I missing something?