[Synthetic Test] Query regarding parameters for alerting

Hi,

I am trying to create a synthetic test using terraform. There is an option to alert when synthetic test fails for a specific duration
image

I tried to find a similar parameter in the resource
https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/synthetics_test

Can anyone help me to find any equivalent parameter to alert when the test fails for a specific duration?

Found an attribute min_failure_duration which is working : )

Cheers