interface CopyValueEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.CopyValueEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_CopyValueEntryProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.CopyValueEntryProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.CopyValueEntryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » 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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const copyValueEntryProperty: logs_mixins.CfnTransformerPropsMixin.CopyValueEntryProperty = {
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 copy. |
| target? | 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 .
source?
Type:
string
(optional)
The key to copy.
target?
Type:
string
(optional)
The key of the field to copy the value to.

.NET
Go
Java
Python
TypeScript