Skip to content
v2.278.0

VideoMonitoringSettingProperty Struct ​

Specifies the configuration for video stream metrics monitoring.

Example ​

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
# 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
// 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();
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
    }
};
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 ​

blackFramesoptionalIResolvable | CfnFlow.BlackFramesPropertyblack_framesoptionaltyping.Union[IResolvable, BlackFramesProperty]blackFramesoptionalIResolvableBlackFramesoptionalIResolvableBlackFramesoptionalinterface{} #
Detects video frames that are black.
frozenFramesoptionalIResolvable | CfnFlow.FrozenFramesPropertyfrozen_framesoptionaltyping.Union[IResolvable, FrozenFramesProperty]frozenFramesoptionalIResolvableFrozenFramesoptionalIResolvableFrozenFramesoptionalinterface{} #
Detects video frames that have not changed.