Class RealtimeLogConfigState


  • public final class RealtimeLogConfigState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the CloudFront real-time log configuration.
      • endpoint

        public java.util.Optional<com.pulumi.core.Output<RealtimeLogConfigEndpointArgs>> endpoint()
        Returns:
        The Amazon Kinesis data streams where real-time log data is sent.
      • fields

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> fields()
        Returns:
        The fields that are included in each real-time log record. See the [AWS documentation](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) for supported values. This includes `viewer-request-log-data` and `viewer-response-log-data`, which carry the custom data that a CloudFront Function logs with `cf.logCustomData()`.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The unique name to identify this real-time log configuration.
      • samplingRate

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> samplingRate()
        Returns:
        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. An integer between `1` and `100`, inclusive.