DateTimeConverter
¶
Source code in docs_src/capo_cloudwatch_logs/types/date_time_converter.py
locale
instance-attribute
¶
locale: NotRequired[Locale]
The locale of the source field. If you omit this, the default of locale.ROOT is used.
match_patterns
instance-attribute
¶
match_patterns: MatchPatterns
A list of patterns to match against the source field.
source_timezone
instance-attribute
¶
source_timezone: NotRequired[SourceTimezone]
The time zone of the source field. If you omit this, the default used is the UTC zone.
target_format
instance-attribute
¶
target_format: NotRequired[TargetFormat]
The datetime format to use for the converted data in the target field.
If you omit this, the default of yyyy-MM-dd'T'HH:mm:ss.SSS'Z is used.
target_timezone
instance-attribute
¶
target_timezone: NotRequired[TargetTimezone]
The time zone of the target field. If you omit this, the default used is the UTC zone.