Interface SubstituteStringProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SubstituteStringProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:17.373Z")
@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 class
A builder forSubstituteStringProperty
static final class
An 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.Builder
ofSubstituteStringProperty
-