# LowerCaseStringProperty

Struct · External

This processor converts a string to lowercase.

For more information about this processor including examples, see [lowerCaseString](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.html#CloudWatch-Logs-Transformation-lowerCaseString) in the *CloudWatch Logs User Guide* .

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 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 lowerCaseStringProperty: logs.CfnTransformer.LowerCaseStringProperty = {
  withKeys: ['withKeys'],
};
```

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

lower_case_string_property = logs.CfnTransformer.LowerCaseStringProperty(
    with_keys=["withKeys"]
)
```

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

LowerCaseStringProperty lowerCaseStringProperty = LowerCaseStringProperty.builder()
        .withKeys(List.of("withKeys"))
        .build();
```

C#:

```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 lowerCaseStringProperty = new LowerCaseStringProperty {
    WithKeys = new [] { "withKeys" }
};
```

Go:

```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"

lowerCaseStringProperty := &LowerCaseStringProperty{
	WithKeys: []*string{
		jsii.String("withKeys"),
	},
}
```

## Properties

- `withKeys`: string[] (required) — The array caontaining the keys of the fields to convert to lowercase.
