interface RenameKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.RenameKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#RenameKeyEntryProperty |
Java | software.amazon.awscdk.services.logs.RenameKeyEntryProperty |
Python | aws_cdk.aws_logs.RenameKeyEntryProperty |
TypeScript (source) | aws-cdk-lib » aws_logs » 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 { aws_logs as logs } from 'aws-cdk-lib';
const renameKeyEntryProperty: logs.RenameKeyEntryProperty = {
key: 'key',
renameTo: 'renameTo',
// the properties below are optional
overwriteIfExists: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The key to rename. |
| rename | string | The string to use for the new key name. |
| overwrite | boolean | Whether to overwrite the target key if it already exists. |
key
Type:
string
The key to rename.
renameTo
Type:
string
The string to use for the new key name.
overwriteIfExists?
Type:
boolean
(optional, default: false)
Whether to overwrite the target key if it already exists.

.NET
Go
Java
Python
TypeScript (