interface TypeConverterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.CfnTransformer.TypeConverterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_TypeConverterProperty |
Java | software.amazon.awscdk.services.logs.CfnTransformer.TypeConverterProperty |
Python | aws_cdk.aws_logs.CfnTransformer.TypeConverterProperty |
TypeScript | aws-cdk-lib » aws_logs » CfnTransformer » TypeConverterProperty |
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. Values can be converted into one of the following datatypes: integer , double , string and boolean .
For more information about this processor including examples, see trimString 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 typeConverterProperty: logs.CfnTransformer.TypeConverterProperty = {
entries: [{
key: 'key',
type: 'type',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| entries | IResolvable | (IResolvable | Type)[] | An array of TypeConverterEntry objects, where each object contains the information about one field to change the type of. |
entries
Type:
IResolvable | (IResolvable | Type)[]
An array of TypeConverterEntry objects, where each object contains the information about one field to change the type of.

.NET
Go
Java
Python
TypeScript