Show / Hide Table of Contents

Interface CfnAnomalyDetector.IConfigurationProperty

Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.

Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface IConfigurationProperty
Syntax (vb)
Public Interface IConfigurationProperty
Remarks

The configuration can also include the time zone to use for the metric.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;

ConfigurationProperty configurationProperty = new ConfigurationProperty {
    ExcludedTimeRanges = new [] { new RangeProperty {
        EndTime = "endTime",
        StartTime = "startTime"
    } },
    MetricTimeZone = "metricTimeZone"
};

Synopsis

Properties

ExcludedTimeRanges

Specifies an array of time ranges to exclude from use when the anomaly detection model is trained and updated.

MetricTimeZone

The time zone to use for the metric.

Properties

ExcludedTimeRanges

Specifies an array of time ranges to exclude from use when the anomaly detection model is trained and updated.

virtual object ExcludedTimeRanges { get; }
Property Value

System.Object

Remarks

Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates or updates the model.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html#cfn-cloudwatch-anomalydetector-configuration-excludedtimeranges

MetricTimeZone

The time zone to use for the metric.

virtual string MetricTimeZone { get; }
Property Value

System.String

Remarks

This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.

To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see tz database .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html#cfn-cloudwatch-anomalydetector-configuration-metrictimezone

Back to top Generated by DocFX