![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudfront.kotlin.outputs.GetRealtimeLogConfigResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudfront.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the real-time log configuration. For example: `arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig` .
* @property endPoints Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
* @property fields 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](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the *Amazon CloudFront Developer Guide* .
* @property samplingRate 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.
*/
public data class GetRealtimeLogConfigResult(
public val arn: String? = null,
public val endPoints: List? = null,
public val fields: List? = null,
public val samplingRate: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.GetRealtimeLogConfigResult): GetRealtimeLogConfigResult = GetRealtimeLogConfigResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
endPoints = javaType.endPoints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cloudfront.kotlin.outputs.RealtimeLogConfigEndPoint.Companion.toKotlin(args0)
})
}),
fields = javaType.fields().map({ args0 -> args0 }),
samplingRate = javaType.samplingRate().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy