interface CopyValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.CopyValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_CopyValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.CopyValueProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.CopyValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » 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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const copyValueProperty: logs_mixins.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