class StringMutatorProcessor
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.StringMutatorProcessor |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#StringMutatorProcessor |
Java | software.amazon.awscdk.services.logs.StringMutatorProcessor |
Python | aws_cdk.aws_logs.StringMutatorProcessor |
TypeScript (source) | aws-cdk-lib » aws_logs » StringMutatorProcessor |
Implements
IProcessor
Processor for string mutation operations.
Example
// 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 stringMutatorProcessor = new logs.StringMutatorProcessor({
type: logs.StringMutatorType.LOWER_CASE,
// the properties below are optional
lowerCaseKeys: ['lowerCaseKeys'],
splitOptions: {
entries: [{
delimiter: logs.DelimiterCharacter.COMMA,
source: 'source',
}],
},
substituteOptions: {
entries: [{
from: 'from',
source: 'source',
to: 'to',
}],
},
trimKeys: ['trimKeys'],
upperCaseKeys: ['upperCaseKeys'],
});
Initializer
new StringMutatorProcessor(props: StringMutatorProps)
Parameters
- props
StringMutator Props
Creates a new string mutator processor.
Properties
| Name | Type | Description |
|---|---|---|
| type | String | The type of string mutation operation. |
type
Type:
String
The type of string mutation operation.

.NET
Go
Java
Python
TypeScript (