TypeConverterProperty

class aws_cdk.aws_logs.TypeConverterProperty(*, entries)

Bases: object

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.

Parameters:

entries (Sequence[Union[TypeConverterEntryProperty, Dict[str, Any]]]) – An array of TypeConverterEntry objects, where each object contains information about one field to change the type of.

ExampleMetadata:

fixture=_generated

Example:

# 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_property = logs.TypeConverterProperty(
    entries=[logs.TypeConverterEntryProperty(
        key="key",
        type=logs.TypeConverterType.BOOLEAN
    )]
)

Attributes

entries

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