Class LoggingConfigurationLoggingConfigurationLogDestinationConfig


  • public final class LoggingConfigurationLoggingConfigurationLogDestinationConfig
    extends java.lang.Object
    • Method Detail

      • logDestination

        public java.util.Map<java.lang.String,​java.lang.String> logDestination()
        Returns:
        A map describing the logging destination for the chosen `logDestinationType`. * For an Amazon S3 bucket, specify the key `bucketName` with the name of the bucket and optionally specify the key `prefix` with a path (Do not add a leading / in the `prefix` as the configuration will have two // when applied). * For a CloudWatch log group, specify the key `logGroup` with the name of the CloudWatch log group. * For a Kinesis Data Firehose delivery stream, specify the key `deliveryStream` with the name of the delivery stream.
      • logDestinationType

        public java.lang.String logDestinationType()
        Returns:
        The location to send logs to. Valid values: `S3`, `CloudWatchLogs`, `KinesisDataFirehose`.
      • logType

        public java.lang.String logType()
        Returns:
        The type of log to send. Valid values: `ALERT` or `FLOW` or `TLS`. Alert logs report traffic that matches a `StatefulRule` with an action setting that sends a log message. Flow logs are standard network traffic flow logs.