interface TrimStringProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.TrimStringProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_TrimStringProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.TrimStringProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.TrimStringProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » CfnTransformerPropsMixin » TrimStringProperty |
Use this processor to remove leading and trailing whitespace.
For more information about this processor including examples, see trimString in the CloudWatch Logs User Guide .
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/cfn-property-mixins';
const trimStringProperty: logs.CfnTransformerPropsMixin.TrimStringProperty = {
withKeys: ['withKeys'],
};
Properties
| Name | Type | Description |
|---|---|---|
| with | string[] | The array containing the keys of the fields to trim. |
withKeys?
Type:
string[]
(optional)
The array containing the keys of the fields to trim.

.NET
Go
Java
Python
TypeScript