CfnAnomalyDetectorMixinProps
- class aws_cdk.mixins_preview.aws_aps.mixins.CfnAnomalyDetectorMixinProps(*, alias=None, configuration=None, evaluation_interval_in_seconds=None, labels=None, missing_data_action=None, tags=None, workspace=None)
Bases:
objectProperties for CfnAnomalyDetectorPropsMixin.
- Parameters:
alias (
Optional[str]) – The user-friendly name of the anomaly detector.configuration (
Union[IResolvable,AnomalyDetectorConfigurationProperty,Dict[str,Any],None]) – The algorithm configuration of the anomaly detector.evaluation_interval_in_seconds (
Union[int,float,None]) – The frequency, in seconds, at which the anomaly detector evaluates metrics. Default: - 60labels (
Union[IResolvable,Sequence[Union[IResolvable,LabelProperty,Dict[str,Any]]],None]) – The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.missing_data_action (
Union[IResolvable,MissingDataActionProperty,Dict[str,Any],None]) – The action taken when data is missing during evaluation.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags applied to the anomaly detector.workspace (
Optional[str]) – An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-anomalydetector.html
- 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_aps import mixins as aps_mixins cfn_anomaly_detector_mixin_props = aps_mixins.CfnAnomalyDetectorMixinProps( alias="alias", configuration=aps_mixins.CfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigurationProperty( random_cut_forest=aps_mixins.CfnAnomalyDetectorPropsMixin.RandomCutForestConfigurationProperty( ignore_near_expected_from_above=aps_mixins.CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty( amount=123, ratio=123 ), ignore_near_expected_from_below=aps_mixins.CfnAnomalyDetectorPropsMixin.IgnoreNearExpectedProperty( amount=123, ratio=123 ), query="query", sample_size=123, shingle_size=123 ) ), evaluation_interval_in_seconds=123, labels=[aps_mixins.CfnAnomalyDetectorPropsMixin.LabelProperty( key="key", value="value" )], missing_data_action=aps_mixins.CfnAnomalyDetectorPropsMixin.MissingDataActionProperty( mark_as_anomaly=False, skip=False ), tags=[CfnTag( key="key", value="value" )], workspace="workspace" )
Attributes
- alias
The user-friendly name of the anomaly detector.
- configuration
The algorithm configuration of the anomaly detector.
- evaluation_interval_in_seconds
The frequency, in seconds, at which the anomaly detector evaluates metrics.
- labels
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.
- missing_data_action
The action taken when data is missing during evaluation.
- tags
The tags applied to the anomaly detector.
- workspace
An Amazon Managed Service for Prometheus workspace is a logical and isolated Prometheus server dedicated to ingesting, storing, and querying your Prometheus-compatible metrics.