interface SubstituteStringProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.SubstituteStringProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_SubstituteStringProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.SubstituteStringProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.SubstituteStringProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » CfnTransformerPropsMixin » SubstituteStringProperty |
This processor matches a key’s value against a regular expression and replaces all matches with a replacement string.
For more information about this processor including examples, see substituteString 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 substituteStringProperty: logs.CfnTransformerPropsMixin.SubstituteStringProperty = {
entries: [{
from: 'from',
source: 'source',
to: 'to',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| entries? | IResolvable | (IResolvable | Substitute)[] | An array of objects, where each object contains the information about one key to match and replace. |
entries?
Type:
IResolvable | (IResolvable | Substitute)[]
(optional)
An array of objects, where each object contains the information about one key to match and replace.

.NET
Go
Java
Python
TypeScript