Class CfnRealtimeLogConfigProps
Properties for defining a CfnRealtimeLogConfig
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRealtimeLogConfigProps : Object, ICfnRealtimeLogConfigProps
Syntax (vb)
Public Class CfnRealtimeLogConfigProps
Inherits Object
Implements ICfnRealtimeLogConfigProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var cfnRealtimeLogConfigProps = new CfnRealtimeLogConfigProps {
EndPoints = new [] { new EndPointProperty {
KinesisStreamConfig = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
},
StreamType = "streamType"
} },
Fields = new [] { "fields" },
Name = "name",
SamplingRate = 123
};
Synopsis
Constructors
CfnRealtimeLogConfigProps() |
Properties
EndPoints | Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration. |
Fields | A list of fields that are included in each real-time log record. |
Name | The unique name of this real-time log configuration. |
SamplingRate | The sampling rate for this real-time log configuration. |
Constructors
CfnRealtimeLogConfigProps()
public CfnRealtimeLogConfigProps()
Properties
EndPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
public object EndPoints { get; set; }
Property Value
System.Object
Remarks
Fields
A list of fields that are included in each real-time log record.
public string[] Fields { get; set; }
Property Value
System.String[]
Remarks
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 .
Name
The unique name of this real-time log configuration.
public string Name { get; set; }
Property Value
System.String
Remarks
SamplingRate
The sampling rate for this real-time log configuration.
public double SamplingRate { get; set; }
Property Value
System.Double
Remarks
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.