interface TrimStringProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnTransformerPropsMixin.TrimStringProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnTransformerPropsMixin_TrimStringProperty |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnTransformerPropsMixin.TrimStringProperty |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnTransformerPropsMixin.TrimStringProperty |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » 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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const trimStringProperty: logs_mixins.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