interface SilentAudioProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaConnect.Mixins.CfnFlowPropsMixin.SilentAudioProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediaconnect/mixins#CfnFlowPropsMixin_SilentAudioProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediaconnect.mixins.CfnFlowPropsMixin.SilentAudioProperty |
Python | aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnFlowPropsMixin.SilentAudioProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediaconnect » mixins » CfnFlowPropsMixin » SilentAudioProperty |
Configures settings for the SilentAudio metric.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as mediaconnect_mixins } from '@aws-cdk/mixins-preview/aws-mediaconnect';
const silentAudioProperty: mediaconnect_mixins.CfnFlowPropsMixin.SilentAudioProperty = {
state: 'state',
thresholdSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| state? | string | Indicates whether the SilentAudio metric is enabled or disabled. |
| threshold | number | Specifies the number of consecutive seconds of silence that triggers an event or alert. |
state?
Type:
string
(optional)
Indicates whether the SilentAudio metric is enabled or disabled.
thresholdSeconds?
Type:
number
(optional)
Specifies the number of consecutive seconds of silence that triggers an event or alert.

.NET
Go
Java
Python
TypeScript