Interface SubstituteStringProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubstituteStringProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-23T11:19:49.875Z")
@Stability(Stable)
public interface SubstituteStringProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.logs.*;
SubstituteStringProperty substituteStringProperty = SubstituteStringProperty.builder()
.entries(List.of(SubstituteStringEntryProperty.builder()
.from("from")
.source("source")
.to("to")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSubstituteStringPropertystatic final classAn implementation forSubstituteStringProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An array of objects, where each object contains information about one key to match and replace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntries
An array of objects, where each object contains information about one key to match and replace. -
builder
- Returns:
- a
SubstituteStringProperty.BuilderofSubstituteStringProperty
-