# Dynatrace::Environment::SyntheticMonitor AnomalyDetectionPolicy The anomaly detection configuration. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "OutageHandling" : OutageHandlingPolicy,
    "LoadingTimeThresholds" : LoadingTimeThresholdsPolicy
}
### YAML
OutageHandling: OutageHandlingPolicy
LoadingTimeThresholds: LoadingTimeThresholdsPolicy
## Properties #### OutageHandling Outage handling configuration. _Required_: Yes _Type_: OutageHandlingPolicy _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### LoadingTimeThresholds Performance thresholds configuration. _Required_: Yes _Type_: LoadingTimeThresholdsPolicy _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)