interface TypeConverterProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnTransformer.TypeConverterProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnTransformer_TypeConverterProperty |
![]() | software.amazon.awscdk.services.logs.CfnTransformer.TypeConverterProperty |
![]() | aws_cdk.aws_logs.CfnTransformer.TypeConverterProperty |
![]() | 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.