class Aws::CloudFront::Types::CreateRealtimeLogConfigRequest

@note When making an API call, you may pass CreateRealtimeLogConfigRequest

data as a hash:

    {
      end_points: [ # required
        {
          stream_type: "string", # required
          kinesis_stream_config: {
            role_arn: "string", # required
            stream_arn: "string", # required
          },
        },
      ],
      fields: ["string"], # required
      name: "string", # required
      sampling_rate: 1, # required
    }

@!attribute [rw] end_points

Contains information about the Amazon Kinesis data stream where you
are sending real-time log data.
@return [Array<Types::EndPoint>]

@!attribute [rw] fields

A list of fields to include in each real-time log record.

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

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields
@return [Array<String>]

@!attribute [rw] name

A unique name to identify this real-time log configuration.
@return [String]

@!attribute [rw] sampling_rate

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. You must provide an integer
between 1 and 100, inclusive.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfigRequest AWS API Documentation

Constants

SENSITIVE