interface CopyValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.CopyValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_CopyValueProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.CopyValueProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.CopyValueProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » CfnTransformerPropsMixin » CopyValueProperty |
This processor copies values within a log event.
You can also use this processor to add metadata to log events by copying the values of the following metadata keys into the log events: @logGroupName , @logGroupStream , @accountId , @regionName .
For more information about this processor including examples, see copyValue in the CloudWatch Logs User Guide .
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 copyValueProperty: logs.CfnTransformerPropsMixin.CopyValueProperty = {
entries: [{
overwriteIfExists: false,
source: 'source',
target: 'target',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| entries? | IResolvable | (IResolvable | Copy)[] | An array of CopyValueEntry objects, where each object contains the information about one field value to copy. |
entries?
Type:
IResolvable | (IResolvable | Copy)[]
(optional)
An array of CopyValueEntry objects, where each object contains the information about one field value to copy.

.NET
Go
Java
Python
TypeScript