interface TypeConverterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.TypeConverterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_TypeConverterProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.TypeConverterProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.TypeConverterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnTransformerPropsMixin » 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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const typeConverterProperty: logs_mixins.CfnTransformerPropsMixin.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)[]
(optional)
An array of TypeConverterEntry objects, where each object contains the information about one field to change the type of.

.NET
Go
Java
Python
TypeScript