interface MoveKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.MoveKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#MoveKeyEntryProperty |
Java | software.amazon.awscdk.services.logs.MoveKeyEntryProperty |
Python | aws_cdk.aws_logs.MoveKeyEntryProperty |
TypeScript (source) | aws-cdk-lib » aws_logs » MoveKeyEntryProperty |
This object defines one key that will be moved with the moveKey processor.
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 moveKeyEntryProperty: logs.MoveKeyEntryProperty = {
source: 'source',
target: 'target',
// the properties below are optional
overwriteIfExists: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| source | string | The key to move. |
| target | string | The key to move to. |
| overwrite | boolean | Specifies whether to overwrite the value if the target key already exists. |
source
Type:
string
The key to move.
target
Type:
string
The key to move to.
overwriteIfExists?
Type:
boolean
(optional, default: false)
Specifies whether to overwrite the value if the target key already exists.

.NET
Go
Java
Python
TypeScript (