# UpperCaseStringProperty

Struct · External

This processor converts a string field to uppercase.

For more information about this processor including examples, see [upperCaseString](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.html#CloudWatch-Logs-Transformation-upperCaseString) 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 upperCaseStringProperty: logs.CfnTransformer.UpperCaseStringProperty = {
  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

upper_case_string_property = logs.CfnTransformer.UpperCaseStringProperty(
    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.*;

UpperCaseStringProperty upperCaseStringProperty = UpperCaseStringProperty.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 upperCaseStringProperty = new UpperCaseStringProperty {
    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"

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

## Properties

- `withKeys`: string[] (required) — The array of containing the keys of the field to convert to uppercase.
