@Stability(value=Stable) public static final class CfnRealtimeLogConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnRealtimeLogConfig>
CfnRealtimeLogConfig.| Modifier and Type | Method and Description |
|---|---|
CfnRealtimeLogConfig |
build() |
static CfnRealtimeLogConfig.Builder |
create(Construct scope,
String id) |
CfnRealtimeLogConfig.Builder |
endPoints(IResolvable endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
|
CfnRealtimeLogConfig.Builder |
endPoints(List<? extends Object> endPoints)
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
|
CfnRealtimeLogConfig.Builder |
fields(List<String> fields)
A list of fields that are included in each real-time log record.
|
CfnRealtimeLogConfig.Builder |
name(String name)
The unique name of this real-time log configuration.
|
CfnRealtimeLogConfig.Builder |
samplingRate(Number samplingRate)
The sampling rate for this real-time log configuration.
|
@Stability(value=Stable) public static CfnRealtimeLogConfig.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnRealtimeLogConfig.EndPointProperty.Builder.@Stability(value=Stable) public CfnRealtimeLogConfig.Builder endPoints(IResolvable endPoints)
endPoints - Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfig.Builder endPoints(List<? extends Object> endPoints)
endPoints - Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfig.Builder fields(List<String> fields)
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 .
fields - A list of fields that are included in each real-time log record. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfig.Builder name(String name)
name - The unique name of this real-time log configuration. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfig.Builder samplingRate(Number samplingRate)
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.
samplingRate - The sampling rate for this real-time log configuration. This parameter is required.this@Stability(value=Stable) public CfnRealtimeLogConfig build()
build in interface software.amazon.jsii.Builder<CfnRealtimeLogConfig>Copyright © 2022. All rights reserved.