Interface SubstituteStringProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubstituteStringProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:13.256Z")
@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
-