SubstituteStringEntryProperty
- class aws_cdk.aws_logs.SubstituteStringEntryProperty(*, from_, source, to)
Bases:
object
This object defines one log field key that will be replaced using the substituteString processor.
- Parameters:
from – The regular expression string to be replaced.
source (
str
) – The key to modify.to (
str
) – The string to be substituted for each match of from.
- 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 substitute_string_entry_property = logs.SubstituteStringEntryProperty( from="from", source="source", to="to" )
Attributes
- from_
The regular expression string to be replaced.
- source
The key to modify.
- to
The string to be substituted for each match of from.