You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::UpdateRealtimeLogConfigRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateRealtimeLogConfigRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)

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

#end_pointsArray<Types::EndPoint>

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

Returns:

  • (Array<Types::EndPoint>)

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

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

Returns:

  • (Array<String>)

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

#nameString

The name for this real-time log configuration.

Returns:

  • (String)

    The name for this real-time log configuration.

#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. You must provide an integer between 1 and 100, inclusive.

Returns:

  • (Integer)

    The sampling rate for this real-time log configuration.