# TypeConverterEntryProperty

This object defines one value type that will be converted using the typeConverter processor.

- Source: [`aws-logs/lib/transformer.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-logs/lib/transformer.ts#L790)
- Type last changed: v2.207.0 · 24 Jul 2025

## Example

TypeScript:

```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 typeConverterEntryProperty: logs.TypeConverterEntryProperty = {
  key: 'key',
  type: logs.TypeConverterType.BOOLEAN,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs

type_converter_entry_property = logs.TypeConverterEntryProperty(
    key="key",
    type=logs.TypeConverterType.BOOLEAN
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;

TypeConverterEntryProperty typeConverterEntryProperty = TypeConverterEntryProperty.builder()
        .key("key")
        .type(TypeConverterType.BOOLEAN)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;

var typeConverterEntryProperty = new TypeConverterEntryProperty {
    Key = "key",
    Type = TypeConverterType.BOOLEAN
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

typeConverterEntryProperty := &TypeConverterEntryProperty{
	Key: jsii.String("key"),
	Type: awscdk.Aws_logs.TypeConverterType_BOOLEAN,
}
```

## Properties

- `key`: string (required) — The key with the value that is to be converted to a different type.

- `type`: [TypeConverterType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.TypeConverterType.html) (required) — The data type to convert the field value to.
