interface MoveKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.MoveKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_MoveKeyEntryProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.MoveKeyEntryProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.MoveKeyEntryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » 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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const moveKeyEntryProperty: logs_mixins.CfnTransformerPropsMixin.MoveKeyEntryProperty = {
overwriteIfExists: false,
source: 'source',
target: 'target',
};
Properties
| Name | Type | Description |
|---|---|---|
| overwrite | boolean | IResolvable | Specifies whether to overwrite the value if the destination key already exists. |
| source? | string | The key to move. |
| target? | string | The key to move to. |
overwriteIfExists?
Type:
boolean | IResolvable
(optional)
Specifies whether to overwrite the value if the destination key already exists.
If you omit this, the default is false .
source?
Type:
string
(optional)
The key to move.
target?
Type:
string
(optional)
The key to move to.

.NET
Go
Java
Python
TypeScript