RealtimeLogConfigArgs constructor
const
RealtimeLogConfigArgs({
- required Input<
RealtimeLogConfigEndpoint> endpoint, - required Input<
List< fields,String> > - Input<
String?> ? name, - required Input<
int> samplingRate,
Creates a new RealtimeLogConfigArgs.
endpoint The Amazon Kinesis data streams where real-time log data is sent.
fields The fields that are included in each real-time log record. See the AWS documentation for supported values. This includes viewer-request-log-data and viewer-response-log-data, which carry the custom data that a CloudFront Function logs with cf.logCustomData().
name The unique name to identify this real-time log configuration.
samplingRate The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. An integer between 1 and 100, inclusive.
Implementation
const RealtimeLogConfigArgs({
required this.endpoint,
required this.fields,
this.name,
required this.samplingRate,
});