SubstituteStringEntryProperty Struct
This object defines one log field key that will be replaced using the substituteString processor.
| Source | aws-logs/lib/transformer.ts |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs
substitute_string_entry_property = logs.SubstituteStringEntryProperty(
from="from",
source="source",
to="to"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;
SubstituteStringEntryProperty substituteStringEntryProperty = SubstituteStringEntryProperty.builder()
.from("from")
.source("source")
.to("to")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var substituteStringEntryProperty = new SubstituteStringEntryProperty {
From = "from",
Source = "source",
To = "to"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
substituteStringEntryProperty := &SubstituteStringEntryProperty{
From: jsii.String("from"),
Source: jsii.String("source"),
To: jsii.String("to"),
}