Class: Aws::CloudWatchLogs::Types::SubstituteStringEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

This object defines one log field key that will be replaced using the substituteString processor.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromString

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.

Returns:

  • (String)


7516
7517
7518
7519
7520
7521
7522
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7516

class SubstituteStringEntry < Struct.new(
  :source,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The key to modify

Returns:

  • (String)


7516
7517
7518
7519
7520
7521
7522
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7516

class SubstituteStringEntry < Struct.new(
  :source,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#toString

The string to be substituted for each match of from

Returns:

  • (String)


7516
7517
7518
7519
7520
7521
7522
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 7516

class SubstituteStringEntry < Struct.new(
  :source,
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end