interface MoveKeysProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.CfnTransformer.MoveKeysProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_MoveKeysProperty |
Java | software.amazon.awscdk.services.logs.CfnTransformer.MoveKeysProperty |
Python | aws_cdk.aws_logs.CfnTransformer.MoveKeysProperty |
TypeScript | aws-cdk-lib » aws_logs » CfnTransformer » MoveKeysProperty |
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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const moveKeysProperty: logs.CfnTransformer.MoveKeysProperty = {
entries: [{
source: 'source',
target: 'target',
// the properties below are optional
overwriteIfExists: false,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| entries | IResolvable | (IResolvable | Move)[] | An array of objects, where each object contains the information about one key to move. |
entries
Type:
IResolvable | (IResolvable | Move)[]
An array of objects, where each object contains the information about one key to move.

.NET
Go
Java
Python
TypeScript