Class CfnRealtimeLogConfigMixinProps
Properties for CfnRealtimeLogConfigPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRealtimeLogConfigMixinProps : ICfnRealtimeLogConfigMixinProps
Syntax (vb)
Public Class CfnRealtimeLogConfigMixinProps Implements ICfnRealtimeLogConfigMixinProps
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.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnRealtimeLogConfigMixinProps = new CfnRealtimeLogConfigMixinProps {
EndPoints = new [] { new EndPointProperty {
KinesisStreamConfig = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
},
StreamType = "streamType"
} },
Fields = new [] { "fields" },
Name = "name",
SamplingRate = 123
};
Synopsis
Constructors
| CfnRealtimeLogConfigMixinProps() | Properties for CfnRealtimeLogConfigPropsMixin. |
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
CfnRealtimeLogConfigMixinProps()
Properties for CfnRealtimeLogConfigPropsMixin.
public CfnRealtimeLogConfigMixinProps()
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.Mixins.Preview.AWS.CloudFront.Mixins;
var cfnRealtimeLogConfigMixinProps = new CfnRealtimeLogConfigMixinProps {
EndPoints = new [] { new EndPointProperty {
KinesisStreamConfig = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
},
StreamType = "streamType"
} },
Fields = new [] { "fields" },
Name = "name",
SamplingRate = 123
};
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
Remarks
Fields
A list of fields that are included in each real-time log record.
public string[]? Fields { get; set; }
Property Value
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
Remarks
SamplingRate
The sampling rate for this real-time log configuration.
public double? SamplingRate { get; set; }
Property Value
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.