Skip to content

CloudFront  >  Structures  >  RealtimeLogConfig

RealtimeLogConfig

Structure Class

RealtimeLogConfig dataclass

Bases: _SerdeShape

A real-time log configuration.

Attributes

arn instance-attribute
arn: str

The Amazon Resource Name (ARN) of this real-time log configuration.

end_points instance-attribute
end_points: list[EndPoint]

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

fields instance-attribute
fields: list[str]

A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.

name instance-attribute
name: str

The unique name of this real-time log configuration.

sampling_rate instance-attribute
sampling_rate: 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. The sampling rate is an integer between 1 and 100, inclusive.