Skip to content

RealtimeLogConfig

Source code in docs_src/capo_cloudfront/types/realtime_log_config.py
class RealtimeLogConfig(TypedDict, closed=True):
    arn: "capo_cloudfront.types.string.string"
    """<p>The Amazon Resource Name (ARN) of this real-time log configuration.</p>"""
    name: "capo_cloudfront.types.string.string"
    """<p>The unique name of this real-time log configuration.</p>"""
    sampling_rate: "capo_cloudfront.types.long.long"
    """<p>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.</p>"""
    end_points: "capo_cloudfront.types.end_point_list.EndPointList"
    """<p>Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.</p>"""
    fields: "capo_cloudfront.types.field_list.FieldList"
    """<p>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.</p> <p>For more information about fields, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields">Real-time log configuration fields</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""

arn instance-attribute

arn: string

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

end_points instance-attribute

end_points: EndPointList

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: FieldList

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: string

The unique name of this real-time log configuration.

sampling_rate instance-attribute

sampling_rate: long

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.