class Amazonite::CloudWatchLogs::SubstituteStringEntry

Overview

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

Included Modules

Defined in:

cloudwatch_logs/substitute_string_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, from : String, to : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def 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.


[View source]
def from=(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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def source : String #

The key to modify


[View source]
def source=(source : String) #

The key to modify


[View source]
def to : String #

The string to be substituted for each match of #from


[View source]
def to=(to : String) #

The string to be substituted for each match of #from


[View source]
def validate! : Nil #

[View source]