interface SubstituteStringEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Logs.CfnTransformerPropsMixin.SubstituteStringEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslogs#CfnTransformerPropsMixin_SubstituteStringEntryProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.logs.CfnTransformerPropsMixin.SubstituteStringEntryProperty |
Python | aws_cdk.cfn_property_mixins.aws_logs.CfnTransformerPropsMixin.SubstituteStringEntryProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_logs » CfnTransformerPropsMixin » SubstituteStringEntryProperty |
This object defines one log field key that will be replaced using the substituteString processor.
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 substituteStringEntryProperty: logs.CfnTransformerPropsMixin.SubstituteStringEntryProperty = {
from: 'from',
source: 'source',
to: 'to',
};
Properties
| Name | Type | Description |
|---|---|---|
| from? | string | The regular expression string to be replaced. |
| source? | string | The key to modify. |
| to? | string | The string to be substituted for each match of from. |
from?
Type:
string
(optional)
The regular expression string to be replaced.
Special regex characters such as [ and ] must be escaped using \ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.
source?
Type:
string
(optional)
The key to modify.
to?
Type:
string
(optional)
The string to be substituted for each match of from.

.NET
Go
Java
Python
TypeScript