Interface CfnPlaybackConfiguration.LogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlaybackConfiguration.LogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlaybackConfiguration
@Stability(Stable)
public static interface CfnPlaybackConfiguration.LogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Defines where AWS Elemental MediaTailor sends logs for the playback configuration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediatailor.*; LogConfigurationProperty logConfigurationProperty = LogConfigurationProperty.builder() .percentEnabled(123) // the properties below are optional .adsInteractionLog(AdsInteractionLogProperty.builder() .excludeEventTypes(List.of("excludeEventTypes")) .publishOptInEventTypes(List.of("publishOptInEventTypes")) .build()) .enabledLoggingStrategies(List.of("enabledLoggingStrategies")) .manifestServiceInteractionLog(ManifestServiceInteractionLogProperty.builder() .excludeEventTypes(List.of("excludeEventTypes")) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlaybackConfiguration.LogConfigurationProperty
static final class
An implementation forCfnPlaybackConfiguration.LogConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).The method used for collecting logs from AWS Elemental MediaTailor.default Object
Settings for customizing what events are included in logs for interactions with the origin server.The percentage of session logs that MediaTailor sends to your configured log destination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPercentEnabled
The percentage of session logs that MediaTailor sends to your configured log destination.For example, if your playback configuration has 1000 sessions and
percentEnabled
is set to60
, 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
- See Also:
-
getAdsInteractionLog
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).- See Also:
-
getEnabledLoggingStrategies
The method used for collecting logs from AWS Elemental MediaTailor.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.- See Also:
-
getManifestServiceInteractionLog
Settings for customizing what events are included in logs for interactions with the origin server.- See Also:
-
builder
-