interface CopyValueEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.CopyValueEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_CopyValueEntryProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.CopyValueEntryProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.CopyValueEntryProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » 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 { aws_logs as logs } from '@aws-cdk/cfn-property-mixins';
const copyValueEntryProperty: logs.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