SilentAudioConfigurationProperty Struct
Detects silent audio in the router input's source content and reports it through a CloudWatch metric, an EventBridge event, and a router input message.
| Source | |
|---|---|
| Type last changed |
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 silentAudioConfigurationProperty: mediaconnect.CfnRouterInput.SilentAudioConfigurationProperty = {
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
silent_audio_configuration_property = mediaconnect.CfnRouterInput.SilentAudioConfigurationProperty(
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.*;
SilentAudioConfigurationProperty silentAudioConfigurationProperty = SilentAudioConfigurationProperty.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 silentAudioConfigurationProperty = new SilentAudioConfigurationProperty {
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"
silentAudioConfigurationProperty := &SilentAudioConfigurationProperty{
State: jsii.String("state"),
ThresholdSeconds: jsii.Number(123),
}