# VideoMonitoringSettingProperty

Specifies the configuration for video stream metrics monitoring.

- Source: Generated at build time
- Type last changed: v2.178.0 · 6 Feb 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_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const videoMonitoringSettingProperty: mediaconnect.CfnFlow.VideoMonitoringSettingProperty = {
  blackFrames: {
    state: 'state',
    thresholdSeconds: 123,
  },
  frozenFrames: {
    state: 'state',
    thresholdSeconds: 123,
  },
};
```

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_mediaconnect as mediaconnect

video_monitoring_setting_property = mediaconnect.CfnFlow.VideoMonitoringSettingProperty(
    black_frames=mediaconnect.CfnFlow.BlackFramesProperty(
        state="state",
        threshold_seconds=123
    ),
    frozen_frames=mediaconnect.CfnFlow.FrozenFramesProperty(
        state="state",
        threshold_seconds=123
    )
)
```

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.mediaconnect.*;

VideoMonitoringSettingProperty videoMonitoringSettingProperty = VideoMonitoringSettingProperty.builder()
        .blackFrames(BlackFramesProperty.builder()
                .state("state")
                .thresholdSeconds(123)
                .build())
        .frozenFrames(FrozenFramesProperty.builder()
                .state("state")
                .thresholdSeconds(123)
                .build())
        .build();
```

C# / .NET:

```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.MediaConnect;

var videoMonitoringSettingProperty = new VideoMonitoringSettingProperty {
    BlackFrames = new BlackFramesProperty {
        State = "state",
        ThresholdSeconds = 123
    },
    FrozenFrames = new FrozenFramesProperty {
        State = "state",
        ThresholdSeconds = 123
    }
};
```

Golang:

```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"

videoMonitoringSettingProperty := &VideoMonitoringSettingProperty{
	BlackFrames: &BlackFramesProperty{
		State: jsii.String("state"),
		ThresholdSeconds: jsii.Number(123),
	},
	FrozenFrames: &FrozenFramesProperty{
		State: jsii.String("state"),
		ThresholdSeconds: jsii.Number(123),
	},
}
```

## Properties

- `blackFrames`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlow.BlackFramesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlow.BlackFramesProperty.html) — Detects video frames that are black.

- `frozenFrames`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlow.FrozenFramesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlow.FrozenFramesProperty.html) — Detects video frames that have not changed.
