interface RenameKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.RenameKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_RenameKeyEntryProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.RenameKeyEntryProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.RenameKeyEntryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » RenameKeyEntryProperty |
This object defines one key that will be renamed with the renameKey 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 renameKeyEntryProperty: logs_mixins.CfnTransformerPropsMixin.RenameKeyEntryProperty = {
key: 'key',
overwriteIfExists: false,
renameTo: 'renameTo',
};
Properties
| Name | Type | Description |
|---|---|---|
| key? | string | The key to rename. |
| overwrite | boolean | IResolvable | Specifies whether to overwrite the existing value if the destination key already exists. |
| rename | string | The string to use for the new key name. |
key?
Type:
string
(optional)
The key to rename.
overwriteIfExists?
Type:
boolean | IResolvable
(optional)
Specifies whether to overwrite the existing value if the destination key already exists.
The default is false
renameTo?
Type:
string
(optional)
The string to use for the new key name.

.NET
Go
Java
Python
TypeScript