# MissingDataActionProperty

Struct · External

Specifies the action to take when data is missing during anomaly detection evaluation.

- Source: Generated at build time
- Type last changed: v2.221.0 · 24 Oct 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const missingDataActionProperty: aps.CfnAnomalyDetector.MissingDataActionProperty = {
  markAsAnomaly: false,
  skip: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aps as aps

missing_data_action_property = aps.CfnAnomalyDetector.MissingDataActionProperty(
    mark_as_anomaly=False,
    skip=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aps.*;

MissingDataActionProperty missingDataActionProperty = MissingDataActionProperty.builder()
        .markAsAnomaly(false)
        .skip(false)
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APS;

var missingDataActionProperty = new MissingDataActionProperty {
    MarkAsAnomaly = false,
    Skip = false
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

missingDataActionProperty := &MissingDataActionProperty{
	MarkAsAnomaly: jsii.Boolean(false),
	Skip: jsii.Boolean(false),
}
```

## Properties

- `markAsAnomaly`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Marks missing data points as anomalies.

- `skip`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Skips evaluation when data is missing.
