VendedLogParser
- class aws_cdk.aws_logs.VendedLogParser(*, log_type, source=None)
Bases:
object
Parser processor for AWS vended logs.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_logs as logs vended_log_parser = logs.VendedLogParser( log_type=logs.VendedLogType.CLOUDFRONT, # the properties below are optional source="source" )
Creates a new vended log parser processor.
- Parameters:
log_type (
VendedLogType
) – The type of AWS vended log to parse.source (
Optional
[str
]) – Source field to parse.
Attributes
- log_type
The type of AWS vended log.