Skip to content
v2.278.0

SplitStringEntryProperty Struct ​

This object defines one log field that will be split with the splitString processor.

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 splitStringEntryProperty: logs.SplitStringEntryProperty = {
  delimiter: logs.DelimiterCharacter.COMMA,
  source: 'source',
};
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
// 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();
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"
};
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 ​

The separator character to split the string on.
sourcestringsourcestrsourceStringSourcestringSource*string required #
The key of the field to split.