Skip to content
v2.278.0

AudioMonitoringSettingProperty Struct ​

Specifies the configuration for audio 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 audioMonitoringSettingProperty: mediaconnect.CfnFlow.AudioMonitoringSettingProperty = {
  silentAudio: {
    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

audio_monitoring_setting_property = mediaconnect.CfnFlow.AudioMonitoringSettingProperty(
    silent_audio=mediaconnect.CfnFlow.SilentAudioProperty(
        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.*;

AudioMonitoringSettingProperty audioMonitoringSettingProperty = AudioMonitoringSettingProperty.builder()
        .silentAudio(SilentAudioProperty.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 audioMonitoringSettingProperty = new AudioMonitoringSettingProperty {
    SilentAudio = new SilentAudioProperty {
        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"

audioMonitoringSettingProperty := &AudioMonitoringSettingProperty{
	SilentAudio: &SilentAudioProperty{
		State: jsii.String("state"),
		ThresholdSeconds: jsii.Number(123),
	},
}

Properties ​

silentAudiooptionalIResolvable | CfnFlow.SilentAudioPropertysilent_audiooptionaltyping.Union[IResolvable, SilentAudioProperty]silentAudiooptionalIResolvableSilentAudiooptionalIResolvableSilentAudiooptionalinterface{} #
Detects periods of silence.