--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_lookoutmetrics_anomaly_detector Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::LookoutMetrics::AnomalyDetector --- # awscc_lookoutmetrics_anomaly_detector (Data Source) Data Source schema for AWS::LookoutMetrics::AnomalyDetector <!-- schema generated by tfplugindocs --> ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `anomaly_detector_config` (Attributes) Configuration options for the AnomalyDetector (see [below for nested schema](#nestedatt--anomaly_detector_config)) - `anomaly_detector_description` (String) A description for the AnomalyDetector. - `anomaly_detector_name` (String) Name for the Amazon Lookout for Metrics Anomaly Detector - `arn` (String) - `kms_key_arn` (String) KMS key used to encrypt the AnomalyDetector data - `metric_set_list` (Attributes List) List of metric sets for anomaly detection (see [below for nested schema](#nestedatt--metric_set_list)) <a id="nestedatt--anomaly_detector_config"></a> ### Nested Schema for `anomaly_detector_config` Read-Only: - `anomaly_detector_frequency` (String) Frequency of anomaly detection <a id="nestedatt--metric_set_list"></a> ### Nested Schema for `metric_set_list` Read-Only: - `dimension_list` (List of String) Dimensions for this MetricSet. - `metric_list` (Attributes List) Metrics captured by this MetricSet. (see [below for nested schema](#nestedatt--metric_set_list--metric_list)) - `metric_set_description` (String) A description for the MetricSet. - `metric_set_frequency` (String) A frequency period to aggregate the data - `metric_set_name` (String) The name of the MetricSet. - `metric_source` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source)) - `offset` (Number) Offset, in seconds, between the frequency interval and the time at which the metrics are available. - `timestamp_column` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--timestamp_column)) - `timezone` (String) <a id="nestedatt--metric_set_list--metric_list"></a> ### Nested Schema for `metric_set_list.metric_list` Read-Only: - `aggregation_function` (String) Operator used to aggregate metric values - `metric_name` (String) Name of a column in the data. - `namespace` (String) <a id="nestedatt--metric_set_list--metric_source"></a> ### Nested Schema for `metric_set_list.metric_source` Read-Only: - `app_flow_config` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--app_flow_config)) - `cloudwatch_config` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--cloudwatch_config)) - `rds_source_config` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--rds_source_config)) - `redshift_source_config` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--redshift_source_config)) - `s3_source_config` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--s3_source_config)) <a id="nestedatt--metric_set_list--metric_source--app_flow_config"></a> ### Nested Schema for `metric_set_list.metric_source.app_flow_config` Read-Only: - `flow_name` (String) - `role_arn` (String) <a id="nestedatt--metric_set_list--metric_source--cloudwatch_config"></a> ### Nested Schema for `metric_set_list.metric_source.cloudwatch_config` Read-Only: - `role_arn` (String) <a id="nestedatt--metric_set_list--metric_source--rds_source_config"></a> ### Nested Schema for `metric_set_list.metric_source.rds_source_config` Read-Only: - `database_host` (String) - `database_name` (String) - `database_port` (Number) - `db_instance_identifier` (String) - `role_arn` (String) - `secret_manager_arn` (String) - `table_name` (String) - `vpc_configuration` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--rds_source_config--vpc_configuration)) <a id="nestedatt--metric_set_list--metric_source--rds_source_config--vpc_configuration"></a> ### Nested Schema for `metric_set_list.metric_source.rds_source_config.vpc_configuration` Read-Only: - `security_group_id_list` (List of String) - `subnet_id_list` (List of String) <a id="nestedatt--metric_set_list--metric_source--redshift_source_config"></a> ### Nested Schema for `metric_set_list.metric_source.redshift_source_config` Read-Only: - `cluster_identifier` (String) - `database_host` (String) - `database_name` (String) - `database_port` (Number) - `role_arn` (String) - `secret_manager_arn` (String) - `table_name` (String) - `vpc_configuration` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--redshift_source_config--vpc_configuration)) <a id="nestedatt--metric_set_list--metric_source--redshift_source_config--vpc_configuration"></a> ### Nested Schema for `metric_set_list.metric_source.redshift_source_config.vpc_configuration` Read-Only: - `security_group_id_list` (List of String) - `subnet_id_list` (List of String) <a id="nestedatt--metric_set_list--metric_source--s3_source_config"></a> ### Nested Schema for `metric_set_list.metric_source.s3_source_config` Read-Only: - `file_format_descriptor` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--s3_source_config--file_format_descriptor)) - `historical_data_path_list` (List of String) - `role_arn` (String) - `templated_path_list` (List of String) <a id="nestedatt--metric_set_list--metric_source--s3_source_config--file_format_descriptor"></a> ### Nested Schema for `metric_set_list.metric_source.s3_source_config.templated_path_list` Read-Only: - `csv_format_descriptor` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--s3_source_config--templated_path_list--csv_format_descriptor)) - `json_format_descriptor` (Attributes) (see [below for nested schema](#nestedatt--metric_set_list--metric_source--s3_source_config--templated_path_list--json_format_descriptor)) <a id="nestedatt--metric_set_list--metric_source--s3_source_config--templated_path_list--csv_format_descriptor"></a> ### Nested Schema for `metric_set_list.metric_source.s3_source_config.templated_path_list.csv_format_descriptor` Read-Only: - `charset` (String) - `contains_header` (Boolean) - `delimiter` (String) - `file_compression` (String) - `header_list` (List of String) - `quote_symbol` (String) <a id="nestedatt--metric_set_list--metric_source--s3_source_config--templated_path_list--json_format_descriptor"></a> ### Nested Schema for `metric_set_list.metric_source.s3_source_config.templated_path_list.json_format_descriptor` Read-Only: - `charset` (String) - `file_compression` (String) <a id="nestedatt--metric_set_list--timestamp_column"></a> ### Nested Schema for `metric_set_list.timestamp_column` Read-Only: - `column_format` (String) A timestamp format for the timestamps in the dataset - `column_name` (String) Name of a column in the data.