interface CopyValueProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CopyValueProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CopyValueProperty |
![]() | software.amazon.awscdk.services.logs.CopyValueProperty |
![]() | aws_cdk.aws_logs.CopyValueProperty |
![]() | aws-cdk-lib » aws_logs » CopyValueProperty |
Copy Value processor, copies values from source to target for each entry.
This processor copies values within a log event. You can also use this processor to add metadata to log events by copying values from metadata keys. 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-lib';
const copyValueProperty: logs.CopyValueProperty = {
entries: [{
source: 'source',
target: 'target',
// the properties below are optional
overwriteIfExists: false,
}],
};
Properties
Name | Type | Description |
---|---|---|
entries | Copy [] | List of sources and target to copy. |
entries
Type:
Copy
[]
List of sources and target to copy.
An array of CopyValueEntry objects, where each object contains information about one field value to copy.