Skip to content
v2.278.0

BlackFramesConfigurationProperty Struct ​

Detects black frames in the router input's source content and reports them through a CloudWatch metric, an EventBridge event, and a router input message.

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 blackFramesConfigurationProperty: mediaconnect.CfnRouterInput.BlackFramesConfigurationProperty = {
  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

black_frames_configuration_property = mediaconnect.CfnRouterInput.BlackFramesConfigurationProperty(
    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.*;

BlackFramesConfigurationProperty blackFramesConfigurationProperty = BlackFramesConfigurationProperty.builder()
        .state("state")
        .thresholdSeconds(123)
        .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 blackFramesConfigurationProperty = new BlackFramesConfigurationProperty {
    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"

blackFramesConfigurationProperty := &BlackFramesConfigurationProperty{
	State: jsii.String("state"),
	ThresholdSeconds: jsii.Number(123),
}

Properties ​

statestringstatestrstateStringStatestringState*string required #
thresholdSecondsnumberthreshold_secondsint | floatthresholdSecondsNumberThresholdSecondsdoubleThresholdSeconds*float64 required #
The number of consecutive seconds of black frames that MediaConnect must detect before it reports an issue.