Interface RealtimeLogConfigProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RealtimeLogConfigProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:29.326Z") @Stability(Stable) public interface RealtimeLogConfigProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a RealtimeLogConfig resource.

Example:

 // Adding realtime logs config to a Cloudfront Distribution on default behavior.
 import software.amazon.awscdk.services.kinesis.*;
 Stream stream;
 RealtimeLogConfig realTimeConfig = RealtimeLogConfig.Builder.create(this, "realtimeLog")
         .endPoints(List.of(Endpoint.fromKinesisStream(stream)))
         .fields(List.of("timestamp", "c-ip", "time-to-first-byte", "sc-status"))
         .realtimeLogConfigName("my-delivery-stream")
         .samplingRate(100)
         .build();
 Distribution.Builder.create(this, "myCdn")
         .defaultBehavior(BehaviorOptions.builder()
                 .origin(new HttpOrigin("www.example.com"))
                 .realtimeLogConfig(realTimeConfig)
                 .build())
         .build();