RealtimeLogConfigArgs class
The set of arguments for RealtimeLogConfig. The set of arguments for RealtimeLogConfig.
Constructors
-
RealtimeLogConfigArgs({required Input<
RealtimeLogConfigEndpoint> endpoint, required Input<List< fields, Input<String> >String?> ? name, required Input<int> samplingRate}) -
Creates a new RealtimeLogConfigArgs.
endpointThe Amazon Kinesis data streams where real-time log data is sent.fieldsThe fields that are included in each real-time log record. See the AWS documentation for supported values. This includesviewer-request-log-dataandviewer-response-log-data, which carry the custom data that a CloudFront Function logs withcf.logCustomData().nameThe unique name to identify this real-time log configuration.samplingRateThe 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 between1and100, 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-dataandviewer-response-log-data, which carry the custom data that a CloudFront Function logs withcf.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
1and100, 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