CfnAnomalyDetectorMixinProps
- class aws_cdk.mixins_preview.aws_lookoutmetrics.mixins.CfnAnomalyDetectorMixinProps(*, anomaly_detector_config=None, anomaly_detector_description=None, anomaly_detector_name=None, kms_key_arn=None, metric_set_list=None)
Bases:
objectProperties for CfnAnomalyDetectorPropsMixin.
- Parameters:
anomaly_detector_config (
Union[IResolvable,AnomalyDetectorConfigProperty,Dict[str,Any],None]) – Contains information about the configuration of the anomaly detector.anomaly_detector_description (
Optional[str]) – A description of the detector.anomaly_detector_name (
Optional[str]) – The name of the detector.kms_key_arn (
Optional[str]) – The ARN of the KMS key to use to encrypt your data.metric_set_list (
Union[IResolvable,Sequence[Union[IResolvable,MetricSetProperty,Dict[str,Any]]],None]) – The detector’s dataset.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_lookoutmetrics import mixins as lookoutmetrics_mixins cfn_anomaly_detector_mixin_props = lookoutmetrics_mixins.CfnAnomalyDetectorMixinProps( anomaly_detector_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigProperty( anomaly_detector_frequency="anomalyDetectorFrequency" ), anomaly_detector_description="anomalyDetectorDescription", anomaly_detector_name="anomalyDetectorName", kms_key_arn="kmsKeyArn", metric_set_list=[lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.MetricSetProperty( dimension_list=["dimensionList"], metric_list=[lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.MetricProperty( aggregation_function="aggregationFunction", metric_name="metricName", namespace="namespace" )], metric_set_description="metricSetDescription", metric_set_frequency="metricSetFrequency", metric_set_name="metricSetName", metric_source=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.MetricSourceProperty( app_flow_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.AppFlowConfigProperty( flow_name="flowName", role_arn="roleArn" ), cloudwatch_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty( role_arn="roleArn" ), rds_source_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.RDSSourceConfigProperty( database_host="databaseHost", database_name="databaseName", database_port=123, db_instance_identifier="dbInstanceIdentifier", role_arn="roleArn", secret_manager_arn="secretManagerArn", table_name="tableName", vpc_configuration=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty( security_group_id_list=["securityGroupIdList"], subnet_id_list=["subnetIdList"] ) ), redshift_source_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty( cluster_identifier="clusterIdentifier", database_host="databaseHost", database_name="databaseName", database_port=123, role_arn="roleArn", secret_manager_arn="secretManagerArn", table_name="tableName", vpc_configuration=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty( security_group_id_list=["securityGroupIdList"], subnet_id_list=["subnetIdList"] ) ), s3_source_config=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.S3SourceConfigProperty( file_format_descriptor=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty( csv_format_descriptor=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty( charset="charset", contains_header=False, delimiter="delimiter", file_compression="fileCompression", header_list=["headerList"], quote_symbol="quoteSymbol" ), json_format_descriptor=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.JsonFormatDescriptorProperty( charset="charset", file_compression="fileCompression" ) ), historical_data_path_list=["historicalDataPathList"], role_arn="roleArn", templated_path_list=["templatedPathList"] ) ), offset=123, timestamp_column=lookoutmetrics_mixins.CfnAnomalyDetectorPropsMixin.TimestampColumnProperty( column_format="columnFormat", column_name="columnName" ), timezone="timezone" )] )
Attributes
- anomaly_detector_config
Contains information about the configuration of the anomaly detector.
- anomaly_detector_description
A description of the detector.
- anomaly_detector_name
The name of the detector.
- kms_key_arn
The ARN of the KMS key to use to encrypt your data.
- metric_set_list
The detector’s dataset.