---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_frauddetector_detector Resource - terraform-provider-awscc"
subcategory: ""
description: |-
A resource schema for a Detector in Amazon Fraud Detector.
---
# awscc_frauddetector_detector (Resource)
A resource schema for a Detector in Amazon Fraud Detector.
## Schema
### Required
- `detector_id` (String) The ID of the detector
- `event_type` (Attributes) The event type to associate this detector with. (see [below for nested schema](#nestedatt--event_type))
- `rules` (Attributes List) (see [below for nested schema](#nestedatt--rules))
### Optional
- `associated_models` (Attributes List) The models to associate with this detector. (see [below for nested schema](#nestedatt--associated_models))
- `description` (String) The description of the detector.
- `detector_version_status` (String) The desired detector version status for the detector
- `rule_execution_mode` (String)
- `tags` (Attributes List) Tags associated with this detector. (see [below for nested schema](#nestedatt--tags))
### Read-Only
- `arn` (String) The ARN of the detector.
- `created_time` (String) The time when the detector was created.
- `detector_version_id` (String) The active version ID of the detector
- `id` (String) Uniquely identifies the resource.
- `last_updated_time` (String) The time when the detector was last updated.
### Nested Schema for `event_type`
Required:
- `arn` (String) The ARN of the event type.
- `created_time` (String) The time when the event type was created.
- `description` (String) The description of the event type.
- `entity_types` (Attributes List) (see [below for nested schema](#nestedatt--event_type--entity_types))
- `event_variables` (Attributes List) (see [below for nested schema](#nestedatt--event_type--event_variables))
- `inline` (Boolean)
- `labels` (Attributes List) (see [below for nested schema](#nestedatt--event_type--labels))
- `last_updated_time` (String) The time when the event type was last updated.
- `name` (String) The name for the event type
- `tags` (Attributes List) Tags associated with this event type. (see [below for nested schema](#nestedatt--event_type--tags))
### Nested Schema for `event_type.entity_types`
Required:
- `arn` (String)
- `created_time` (String) The time when the entity type was created.
- `description` (String) The description.
- `inline` (Boolean)
- `last_updated_time` (String) The time when the entity type was last updated.
- `name` (String)
- `tags` (Attributes List) Tags associated with this entity type. (see [below for nested schema](#nestedatt--event_type--entity_types--tags))
### Nested Schema for `event_type.entity_types.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `event_type.event_variables`
Required:
- `arn` (String)
- `created_time` (String) The time when the event variable was created.
- `data_source` (String)
- `data_type` (String)
- `default_value` (String)
- `description` (String) The description.
- `inline` (Boolean)
- `last_updated_time` (String) The time when the event variable was last updated.
- `name` (String)
- `tags` (Attributes List) Tags associated with this event variable. (see [below for nested schema](#nestedatt--event_type--event_variables--tags))
- `variable_type` (String)
### Nested Schema for `event_type.event_variables.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `event_type.labels`
Required:
- `arn` (String)
- `created_time` (String) The time when the label was created.
- `description` (String) The description.
- `inline` (Boolean)
- `last_updated_time` (String) The time when the label was last updated.
- `name` (String)
- `tags` (Attributes List) Tags associated with this label. (see [below for nested schema](#nestedatt--event_type--labels--tags))
### Nested Schema for `event_type.labels.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `event_type.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `rules`
Required:
- `arn` (String)
- `created_time` (String) The time when the event type was created.
- `description` (String) The description.
- `detector_id` (String)
- `expression` (String)
- `language` (String)
- `last_updated_time` (String) The time when the event type was last updated.
- `outcomes` (Attributes List) (see [below for nested schema](#nestedatt--rules--outcomes))
- `rule_id` (String)
- `rule_version` (String)
- `tags` (Attributes List) Tags associated with this event type. (see [below for nested schema](#nestedatt--rules--tags))
### Nested Schema for `rules.outcomes`
Required:
- `arn` (String)
- `created_time` (String) The time when the outcome was created.
- `description` (String) The description.
- `inline` (Boolean)
- `last_updated_time` (String) The time when the outcome was last updated.
- `name` (String)
- `tags` (Attributes List) Tags associated with this outcome. (see [below for nested schema](#nestedatt--rules--outcomes--tags))
### Nested Schema for `rules.outcomes.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `rules.tags`
Required:
- `key` (String)
- `value` (String)
### Nested Schema for `associated_models`
Optional:
- `arn` (String)
### Nested Schema for `tags`
Optional:
- `key` (String)
- `value` (String)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_frauddetector_detector.example
```