How to implement "AWS IoT Device Defender" using terraform

NOTE: Somehow I was able to delete the question when I wanted to edit it. So I had to create a new post again. It did not ask if I wanted to really delete question!

Hi,
I wanted to implement the IoT Device Defender via Terraform.
But I have not been able to find which modules I should be using.
The only mention of device defender I saw was in aws_iot_indexing_configuration.

resource "aws_iot_indexing_configuration" "example" {
  thing_indexing_configuration {
    thing_indexing_mode              = "REGISTRY_AND_SHADOW"
    thing_connectivity_indexing_mode = "STATUS"
    device_defender_indexing_mode    = "VIOLATIONS"
    named_shadow_indexing_mode       = "ON"
...
...