@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:48.744Z") @Stability(value=Stable) public interface CfnRealtimeLogConfigProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
CfnRealtimeLogConfigProps cfnRealtimeLogConfigProps = CfnRealtimeLogConfigProps.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRealtimeLogConfigProps.Builder
A builder for
CfnRealtimeLogConfigProps |
static class |
CfnRealtimeLogConfigProps.Jsii$Proxy
An implementation for
CfnRealtimeLogConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRealtimeLogConfigProps.Builder |
builder() |
Object |
getEndPoints()
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
|
List<String> |
getFields()
A list of fields that are included in each real-time log record.
|
String |
getName()
The unique name of this real-time log configuration.
|
Number |
getSamplingRate()
The sampling rate for this real-time log configuration.
|
@Stability(value=Stable) @NotNull Object getEndPoints()
@Stability(value=Stable) @NotNull List<String> getFields()
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 .
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Number getSamplingRate()
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.
@Stability(value=Stable) static CfnRealtimeLogConfigProps.Builder builder()
CfnRealtimeLogConfigProps.Builder of CfnRealtimeLogConfigPropsCopyright © 2022. All rights reserved.