AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

RealtimeLogConfig

A Realtime Log Config configuration.

Import

import { RealtimeLogConfig } from 'aws-cdk-lib/aws-cloudfront';

Or use the module namespace:

import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.RealtimeLogConfig

Properties

Configuration passed to the constructor as RealtimeLogConfigProps.

endPointsRequired
Endpoint[]

Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

fieldsRequired
string[]

A list of fields that are included in each real-time log record.

samplingRateRequired
number

The sampling rate for this real-time log configuration.

realtimeLogConfigNameOptional
string

The unique name of this real-time log configuration.

Default: - the unique construct ID

Get the Amazon CloudFront Cheat Sheet

Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.

Download Free Infographic