RealtimeLogConfigState constructor

const RealtimeLogConfigState({
  1. Input<String?>? arn,
  2. Input<RealtimeLogConfigEndpoint?>? endpoint,
  3. Input<List<String>?>? fields,
  4. Input<String?>? name,
  5. Input<int?>? samplingRate,
})

Creates a new RealtimeLogConfigState. arn ARN of the CloudFront real-time log configuration. 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 RealtimeLogConfigState({
  this.arn,
  this.endpoint,
  this.fields,
  this.name,
  this.samplingRate,
});