Class: Aws::CloudWatchLogs::Types::SubstituteStringEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::SubstituteStringEntry
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchlogs/types.rb
Overview
This object defines one log field key that will be replaced using the
- substituteString][1
-
processor.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#from ⇒ String
The regular expression string to be replaced.
-
#source ⇒ String
The key to modify.
-
#to ⇒ String
The string to be substituted for each match of ‘from`.
Instance Attribute Details
#from ⇒ String
The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see [ Class Pattern] on the Oracle web site.
[1]: docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/regex/Pattern.html
6707 6708 6709 6710 6711 6712 6713 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6707 class SubstituteStringEntry < Struct.new( :source, :from, :to) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The key to modify
6707 6708 6709 6710 6711 6712 6713 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6707 class SubstituteStringEntry < Struct.new( :source, :from, :to) SENSITIVE = [] include Aws::Structure end |
#to ⇒ String
The string to be substituted for each match of ‘from`
6707 6708 6709 6710 6711 6712 6713 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6707 class SubstituteStringEntry < Struct.new( :source, :from, :to) SENSITIVE = [] include Aws::Structure end |