interface CopyValueEntryProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnTransformer.CopyValueEntryProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_CopyValueEntryProperty |
![]() | software.amazon.awscdk.services.logs.CfnTransformer.CopyValueEntryProperty |
![]() | aws_cdk.aws_logs.CfnTransformer.CopyValueEntryProperty |
![]() | aws-cdk-lib » aws_logs » CfnTransformer » CopyValueEntryProperty |
This object defines one value to be copied with the copyValue 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 copyValueEntryProperty: logs.CfnTransformer.CopyValueEntryProperty = {
source: 'source',
target: 'target',
// the properties below are optional
overwriteIfExists: false,
};
Properties
Name | Type | Description |
---|---|---|
source | string | The key to copy. |
target | string | The key of the field to copy the value to. |
overwrite | boolean | IResolvable | Specifies whether to overwrite the value if the destination key already exists. |
source
Type:
string
The key to copy.
target
Type:
string
The key of the field to copy the value 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
.