Skip to content
v2.275.0

TypeConverterProperty Struct ​

Use this processor to convert a value type associated with the specified key to the specified type.

It's a casting processor that changes the types of the specified fields. For more information about this processor including examples, see typeConverter in the CloudWatch Logs User Guide.

Example ​

ts
// 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 typeConverterProperty: logs.TypeConverterProperty = {
  entries: [{
    key: 'key',
    type: logs.TypeConverterType.BOOLEAN,
  }],
};

Properties ​

An array of TypeConverterEntry objects, where each object contains information about one field to change the type of.