Skip to content
v2.278.0

UpperCaseStringProperty ​

Struct External

This processor converts a string field to uppercase.

For more information about this processor including examples, see upperCaseString in the CloudWatch Logs User Guide .

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 upperCaseStringProperty: logs.CfnTransformer.UpperCaseStringProperty = {
  withKeys: ['withKeys'],
};
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
// 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();
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
// 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 ​

withKeysstring[]with_keystyping.List[str]withKeysList<String>WithKeysstring[]WithKeys*[]*string required #
The array of containing the keys of the field to convert to uppercase.