Skip to content
v2.273.0

RuleProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transcribe as transcribe } from 'aws-cdk-lib';
const ruleProperty: transcribe.CfnCallAnalyticsCategory.RuleProperty = {
  interruptionFilter: {
    absoluteTimeRange: {
      endTime: 123,
      first: 123,
      last: 123,
      startTime: 123,
    },
    negate: false,
    participantRole: 'participantRole',
    relativeTimeRange: {
      endPercentage: 123,
      first: 123,
      last: 123,
      startPercentage: 123,
    },
    threshold: 123,
  },
  nonTalkTimeFilter: {
    absoluteTimeRange: {
      endTime: 123,
      first: 123,
      last: 123,
      startTime: 123,
    },
    negate: false,
    relativeTimeRange: {
      endPercentage: 123,
      first: 123,
      last: 123,
      startPercentage: 123,
    },
    threshold: 123,
  },
  sentimentFilter: {
    sentiments: ['sentiments'],

    // the properties below are optional
    absoluteTimeRange: {
      endTime: 123,
      first: 123,
      last: 123,
      startTime: 123,
    },
    negate: false,
    participantRole: 'participantRole',
    relativeTimeRange: {
      endPercentage: 123,
      first: 123,
      last: 123,
      startPercentage: 123,
    },
  },
  transcriptFilter: {
    targets: ['targets'],
    transcriptFilterType: 'transcriptFilterType',

    // the properties below are optional
    absoluteTimeRange: {
      endTime: 123,
      first: 123,
      last: 123,
      startTime: 123,
    },
    negate: false,
    participantRole: 'participantRole',
    relativeTimeRange: {
      endPercentage: 123,
      first: 123,
      last: 123,
      startPercentage: 123,
    },
  },
};

Properties ​

interruptionFilterIResolvable | CfnCallAnalyticsCategory.InterruptionFilterPropertyinterruption_filtertyping.Union[IResolvable, InterruptionFilterProperty]interruptionFilterIResolvableInterruptionFilterIResolvableInterruptionFilterinterface{}#
nonTalkTimeFilterIResolvable | CfnCallAnalyticsCategory.NonTalkTimeFilterPropertynon_talk_time_filtertyping.Union[IResolvable, NonTalkTimeFilterProperty]nonTalkTimeFilterIResolvableNonTalkTimeFilterIResolvableNonTalkTimeFilterinterface{}#
sentimentFilterIResolvable | CfnCallAnalyticsCategory.SentimentFilterPropertysentiment_filtertyping.Union[IResolvable, SentimentFilterProperty]sentimentFilterIResolvableSentimentFilterIResolvableSentimentFilterinterface{}#
transcriptFilterIResolvable | CfnCallAnalyticsCategory.TranscriptFilterPropertytranscript_filtertyping.Union[IResolvable, TranscriptFilterProperty]transcriptFilterIResolvableTranscriptFilterIResolvableTranscriptFilterinterface{}#