class Amazonite::CloudWatchLogs::AddKeyEntry

Overview

This object defines one key that will be added with the addKeys processor.

Included Modules

Defined in:

cloudwatch_logs/add_key_entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, value : String, overwrite_if_exists : Bool | Nil = nil) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key : String #

The key of the new entry to be added to the log event


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

The key of the new entry to be added to the log event


[View source]
def overwrite_if_exists : Bool | Nil #

Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is false.


[View source]
def overwrite_if_exists=(overwrite_if_exists : Bool | Nil) #

Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is false.


[View source]
def validate! : Nil #

[View source]
def value : String #

The value of the new entry to be added to the log event


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

The value of the new entry to be added to the log event


[View source]