MoveKeysProperty
- class aws_cdk.aws_logs.MoveKeysProperty(*, entries)
Bases:
object
This processor moves a key from one field to another.
The original key is deleted. For more information about this processor including examples, see moveKeys in the CloudWatch Logs User Guide.
- Parameters:
entries (
Sequence
[Union
[MoveKeyEntryProperty
,Dict
[str
,Any
]]]) – An array of objects, where each object contains information about one key to move.- 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 move_keys_property = logs.MoveKeysProperty( entries=[logs.MoveKeyEntryProperty( source="source", target="target", # the properties below are optional overwrite_if_exists=False )] )
Attributes
- entries
An array of objects, where each object contains information about one key to move.