TypeConverterEntryProperty Struct
This object defines one value type that will be converted using the typeConverter processor.
| Source | aws-logs/lib/transformer.ts |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
};
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
The key with the value that is to be converted to a different type.
typeTypeConverterTypetypeTypeConverterTypetypeTypeConverterTypeTypeTypeConverterTypeTypeTypeConverterType required #The data type to convert the field value to.