interface RenameKeyEntryProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnTransformer.RenameKeyEntryProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_RenameKeyEntryProperty |
![]() | software.amazon.awscdk.services.logs.CfnTransformer.RenameKeyEntryProperty |
![]() | aws_cdk.aws_logs.CfnTransformer.RenameKeyEntryProperty |
![]() | aws-cdk-lib » aws_logs » CfnTransformer » 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.CfnTransformer.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 | IResolvable | Specifies whether to overwrite the existing value if the destination key already exists. |
key
Type:
string
The key to rename.
renameTo
Type:
string
The string to use for the new key name.
overwriteIfExists?
Type:
boolean |
IResolvable
(optional)
Specifies whether to overwrite the existing value if the destination key already exists.
The default is false