interface SubstituteStringEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.SubstituteStringEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#SubstituteStringEntryProperty |
Java | software.amazon.awscdk.services.logs.SubstituteStringEntryProperty |
Python | aws_cdk.aws_logs.SubstituteStringEntryProperty |
TypeScript (source) | aws-cdk-lib » aws_logs » 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-lib';
const substituteStringEntryProperty: logs.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
The regular expression string to be replaced.
source
Type:
string
The key to modify.
to
Type:
string
The string to be substituted for each match of from.

.NET
Go
Java
Python
TypeScript (