Skip to content
v2.275.0

LogConfigurationProperty Struct ​

Defines where AWS Elemental MediaTailor sends logs for the playback configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediatailor as mediatailor } from 'aws-cdk-lib';
const logConfigurationProperty: mediatailor.CfnPlaybackConfiguration.LogConfigurationProperty = {
  percentEnabled: 123,

  // the properties below are optional
  adsInteractionLog: {
    excludeEventTypes: ['excludeEventTypes'],
    publishOptInEventTypes: ['publishOptInEventTypes'],
  },
  enabledLoggingStrategies: ['enabledLoggingStrategies'],
  manifestServiceInteractionLog: {
    excludeEventTypes: ['excludeEventTypes'],
  },
};

Properties ​

adsInteractionLogoptionalIResolvable | CfnPlaybackConfiguration.AdsInteractionLogPropertyads_interaction_logoptionaltyping.Union[IResolvable, AdsInteractionLogProperty]adsInteractionLogoptionalIResolvableAdsInteractionLogoptionalIResolvableAdsInteractionLogoptionalinterface{}#
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
enabledLoggingStrategiesoptionalstring[]enabled_logging_strategiesoptionaltyping.List[str]enabledLoggingStrategiesoptionalList<String>EnabledLoggingStrategiesoptionalstring[]EnabledLoggingStrategiesoptional*[]*string#
The method used for collecting logs from AWS Elemental MediaTailor.
notes

LEGACY_CLOUDWATCH indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. VENDED_LOGS indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.

manifestServiceInteractionLogoptionalIResolvable | CfnPlaybackConfiguration.ManifestServiceInteractionLogPropertymanifest_service_interaction_logoptionaltyping.Union[IResolvable, ManifestServiceInteractionLogProperty]manifestServiceInteractionLogoptionalIResolvableManifestServiceInteractionLogoptionalIResolvableManifestServiceInteractionLogoptionalinterface{}#
Settings for customizing what events are included in logs for interactions with the origin server.
percentEnablednumberpercent_enabledint | floatpercentEnabledNumberPercentEnableddoublePercentEnabled*float64required#
The percentage of session logs that MediaTailor sends to your configured log destination.
notes

For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60 , MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode .

Valid values: 0 - 100