# SplitStringEntryProperty

This object defines one log field that will be split with the splitString 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#L757)
- 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 splitStringEntryProperty: logs.SplitStringEntryProperty = {
  delimiter: logs.DelimiterCharacter.COMMA,
  source: 'source',
};
```

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

split_string_entry_property = logs.SplitStringEntryProperty(
    delimiter=logs.DelimiterCharacter.COMMA,
    source="source"
)
```

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.*;

SplitStringEntryProperty splitStringEntryProperty = SplitStringEntryProperty.builder()
        .delimiter(DelimiterCharacter.COMMA)
        .source("source")
        .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 splitStringEntryProperty = new SplitStringEntryProperty {
    Delimiter = DelimiterCharacter.COMMA,
    Source = "source"
};
```

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"

splitStringEntryProperty := &SplitStringEntryProperty{
	Delimiter: awscdk.Aws_logs.DelimiterCharacter_COMMA,
	Source: jsii.String("source"),
}
```

## Properties

- `delimiter`: [DelimiterCharacter](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.DelimiterCharacter.html) (required) — The separator character to split the string on.

- `source`: string (required) — The key of the field to split.
