Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudfront_create_realtime_log_config

Creates a real-time log configuration


Description

Creates a real-time log configuration.

After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.

For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.

Usage

cloudfront_create_realtime_log_config(EndPoints, Fields, Name,
  SamplingRate)

Arguments

EndPoints

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

Fields

[required] 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.

Name

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

SamplingRate

[required] 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.

Value

A list with the following syntax:

list(
  RealtimeLogConfig = list(
    ARN = "string",
    Name = "string",
    SamplingRate = 123,
    EndPoints = list(
      list(
        StreamType = "string",
        KinesisStreamConfig = list(
          RoleARN = "string",
          StreamARN = "string"
        )
      )
    ),
    Fields = list(
      "string"
    )
  )
)

Request syntax

svc$create_realtime_log_config(
  EndPoints = list(
    list(
      StreamType = "string",
      KinesisStreamConfig = list(
        RoleARN = "string",
        StreamARN = "string"
      )
    )
  ),
  Fields = list(
    "string"
  ),
  Name = "string",
  SamplingRate = 123
)

paws.networking

Amazon Web Services Networking & Content Delivery Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.