Class: Aws::CloudFront::Types::CreateRealtimeLogConfigRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CreateRealtimeLogConfigRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
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
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#end_points ⇒ Array<Types::EndPoint>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
-
#fields ⇒ Array<String>
A list of fields to include in each real-time log record.
-
#name ⇒ String
A unique name to identify this real-time log configuration.
-
#sampling_rate ⇒ Integer
The sampling rate for this real-time log configuration.
Instance Attribute Details
#end_points ⇒ Array<Types::EndPoint>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
2911 2912 2913 2914 2915 2916 2917 2918 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2911 class CreateRealtimeLogConfigRequest < Struct.new( :end_points, :fields, :name, :sampling_rate) SENSITIVE = [] include Aws::Structure end |
#fields ⇒ Array<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*.
2911 2912 2913 2914 2915 2916 2917 2918 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2911 class CreateRealtimeLogConfigRequest < Struct.new( :end_points, :fields, :name, :sampling_rate) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A unique name to identify this real-time log configuration.
2911 2912 2913 2914 2915 2916 2917 2918 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2911 class CreateRealtimeLogConfigRequest < Struct.new( :end_points, :fields, :name, :sampling_rate) SENSITIVE = [] include Aws::Structure end |
#sampling_rate ⇒ Integer
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.
2911 2912 2913 2914 2915 2916 2917 2918 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2911 class CreateRealtimeLogConfigRequest < Struct.new( :end_points, :fields, :name, :sampling_rate) SENSITIVE = [] include Aws::Structure end |