Class: Aws::CloudFront::Types::CreateRealtimeLogConfigRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_pointsArray<Types::EndPoint>

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

Returns:



2519
2520
2521
2522
2523
2524
2525
2526
# File 'lib/aws-sdk-cloudfront/types.rb', line 2519

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

#fieldsArray<String>

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

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>)


2519
2520
2521
2522
2523
2524
2525
2526
# File 'lib/aws-sdk-cloudfront/types.rb', line 2519

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

#nameString

A unique name to identify this real-time log configuration.

Returns:

  • (String)


2519
2520
2521
2522
2523
2524
2525
2526
# File 'lib/aws-sdk-cloudfront/types.rb', line 2519

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

#sampling_rateInteger

The sampling rate for this real-time log configuration. You can specify a whole number between 1 and 100 (inclusive) to determine the percentage of viewer requests that are represented in the real-time log data.

Returns:

  • (Integer)


2519
2520
2521
2522
2523
2524
2525
2526
# File 'lib/aws-sdk-cloudfront/types.rb', line 2519

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