---
type: resource-type
title: RealtimeLogConfig
description: aws resource type AWS::CloudFront::RealtimeLogConfig
name: RealtimeLogConfig
lexicon: aws
resource_type: AWS::CloudFront::RealtimeLogConfig
---
`AWS::CloudFront::RealtimeLogConfig`, a resource type of the aws lexicon.

## Properties

- `EndPoints` (`RealtimeLogConfig_EndPoint[]`, required): Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
- `Fields` (`string[]`, required): 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide*.
- `Name` (`string`, required): The unique name of this real-time log configuration.
- `SamplingRate` (`number`, required): 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.
- `Arn` (`string`, optional)

## Attributes

- `Arn`
