Interface CfnTransformer.SubstituteStringProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.SubstituteStringProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransformer.SubstituteStringPropertystatic final classAn implementation forCfnTransformer.SubstituteStringProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()An array of objects, where each object contains the 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 the information about one key to match and replace.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTransformer.SubstituteStringEntryProperty>- See Also:
-
builder
-