Interface CfnRealtimeLogConfigMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRealtimeLogConfigMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.106Z")
@Stability(Stable)
public interface CfnRealtimeLogConfigMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRealtimeLogConfigPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cloudfront.*;
CfnRealtimeLogConfigMixinProps cfnRealtimeLogConfigMixinProps = CfnRealtimeLogConfigMixinProps.builder()
.endPoints(List.of(EndPointProperty.builder()
.kinesisStreamConfig(KinesisStreamConfigProperty.builder()
.roleArn("roleArn")
.streamArn("streamArn")
.build())
.streamType("streamType")
.build()))
.fields(List.of("fields"))
.name("name")
.samplingRate(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRealtimeLogConfigMixinPropsstatic final classAn implementation forCfnRealtimeLogConfigMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.A list of fields that are included in each real-time log record.default StringgetName()The unique name of this real-time log configuration.default NumberThe sampling rate for this real-time log configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndPoints
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRealtimeLogConfigPropsMixin.EndPointProperty>- See Also:
-
getFields
A list of fields that are included in each real-time log record.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 .
- See Also:
-
getName
The unique name of this real-time log configuration.- See Also:
-
getSamplingRate
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. The sampling rate is an integer between 1 and 100, inclusive.
- See Also:
-
builder
-