RealtimeLogConfigArgs class

The set of arguments for RealtimeLogConfig. The set of arguments for RealtimeLogConfig.

Constructors

RealtimeLogConfigArgs({required Input<RealtimeLogConfigEndpoint> endpoint, required Input<List<String>> fields, 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.
const
RealtimeLogConfigArgs.fromMap(Map<String, dynamic> map)
factory

Properties

endpoint → Input<RealtimeLogConfigEndpoint>
The Amazon Kinesis data streams where real-time log data is sent.
final
fields → Input<List<String>>
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().
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
The unique name to identify this real-time log configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplingRate → Input<int>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited