interface LogConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaTailor.Mixins.CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediatailor/mixins#CfnPlaybackConfigurationPropsMixin_LogConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.mediatailor.mixins.CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_mediatailor.mixins.CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_mediatailor » mixins » CfnPlaybackConfigurationPropsMixin » LogConfigurationProperty |
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 { mixins as mediatailor_mixins } from '@aws-cdk/mixins-preview/aws-mediatailor';
const logConfigurationProperty: mediatailor_mixins.CfnPlaybackConfigurationPropsMixin.LogConfigurationProperty = {
adsInteractionLog: {
excludeEventTypes: ['excludeEventTypes'],
publishOptInEventTypes: ['publishOptInEventTypes'],
},
enabledLoggingStrategies: ['enabledLoggingStrategies'],
manifestServiceInteractionLog: {
excludeEventTypes: ['excludeEventTypes'],
},
percentEnabled: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| ads | IResolvable | Ads | Settings for customizing what events are included in logs for interactions with the ad decision server (ADS). |
| enabled | string[] | The method used for collecting logs from AWS Elemental MediaTailor. |
| manifest | IResolvable | Manifest | Settings for customizing what events are included in logs for interactions with the origin server. |
| percent | number | The percentage of session logs that MediaTailor sends to your configured log destination. |
adsInteractionLog?
Type:
IResolvable | Ads
(optional)
Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).
enabledLoggingStrategies?
Type:
string[]
(optional)
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.
manifestServiceInteractionLog?
Type:
IResolvable | Manifest
(optional)
Settings for customizing what events are included in logs for interactions with the origin server.
percentEnabled?
Type:
number
(optional)
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 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

.NET
Go
Java
Python
TypeScript