enum Amazonite::CloudWatchLogs::Distribution

Overview

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

Defined in:

cloudwatch_logs/distribution.cr

Enum Members

Random = 0
ByLogStream = 1

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) : ACWL::Distribution #

[View source]
def self.from_json_object_key?(key : String) : ACWL::Distribution | Nil #

[View source]
def self.to_json(e : Distribution, json : JSON::Builder) : Nil #

[View source]

Instance Method Detail

def by_log_stream? #

Returns true if this enum value equals ByLogStream


[View source]
def random? #

Returns true if this enum value equals Random


[View source]
def to_json_object_key : String #

[View source]