Class: Aws::CloudFront::Types::RealtimeLogConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

A real-time log configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aws-sdk-cloudfront/types.rb', line 10107

class RealtimeLogConfig < Struct.new(
  :arn,
  :name,
  :sampling_rate,
  :end_points,
  :fields)
  SENSITIVE = []
  include Aws::Structure
end

#end_pointsArray<Types::EndPoint>

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

Returns:



10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aws-sdk-cloudfront/types.rb', line 10107

class RealtimeLogConfig < Struct.new(
  :arn,
  :name,
  :sampling_rate,
  :end_points,
  :fields)
  SENSITIVE = []
  include Aws::Structure
end

#fieldsArray<String>

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*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields

Returns:

  • (Array<String>)


10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aws-sdk-cloudfront/types.rb', line 10107

class RealtimeLogConfig < Struct.new(
  :arn,
  :name,
  :sampling_rate,
  :end_points,
  :fields)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The unique name of this real-time log configuration.

Returns:

  • (String)


10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aws-sdk-cloudfront/types.rb', line 10107

class RealtimeLogConfig < Struct.new(
  :arn,
  :name,
  :sampling_rate,
  :end_points,
  :fields)
  SENSITIVE = []
  include Aws::Structure
end

#sampling_rateInteger

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.

Returns:

  • (Integer)


10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aws-sdk-cloudfront/types.rb', line 10107

class RealtimeLogConfig < Struct.new(
  :arn,
  :name,
  :sampling_rate,
  :end_points,
  :fields)
  SENSITIVE = []
  include Aws::Structure
end