class Amazonite::CloudWatchLogs::SubscriptionFilter

Overview

Represents a subscription filter.

Included Modules

Defined in:

cloudwatch_logs/subscription_filter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(filter_name : String | Nil = nil, log_group_name : String | Nil = nil, filter_pattern : String | Nil = nil, destination_arn : String | Nil = nil, role_arn : String | Nil = nil, distribution : Distribution | Nil = nil, apply_on_transformed_logs : Bool | Nil = nil, creation_time : Int64 | Nil = nil, field_selection_criteria : String | Nil = nil, emit_system_fields : Array(String) | Nil = nil) #

[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 apply_on_transformed_logs : Bool | Nil #

This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.

If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.


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

This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.

If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.


[View source]
def creation_time : Int64 | Nil #

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def creation_time=(creation_time : Int64 | Nil) #

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def destination_arn : String | Nil #

The Amazon Resource Name (ARN) of the destination.


[View source]
def destination_arn=(destination_arn : String | Nil) #

The Amazon Resource Name (ARN) of the destination.


[View source]
def distribution : Distribution | Nil #

[View source]
def distribution=(distribution : Distribution | Nil) #

[View source]
def emit_system_fields : Array(String) | Nil #

The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.


[View source]
def emit_system_fields=(emit_system_fields : Array(String) | Nil) #

The list of system fields that are included in the log events sent to the subscription destination. Returns the emitSystemFields value if it was specified when the subscription filter was created.


[View source]
def field_selection_criteria : String | Nil #

The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the fieldSelectionCriteria value if it was specified when the subscription filter was created.


[View source]
def field_selection_criteria=(field_selection_criteria : String | Nil) #

The filter expression that specifies which log events are processed by this subscription filter based on system fields. Returns the fieldSelectionCriteria value if it was specified when the subscription filter was created.


[View source]
def filter_name : String | Nil #

The name of the subscription filter.


[View source]
def filter_name=(filter_name : String | Nil) #

The name of the subscription filter.


[View source]
def filter_pattern : String | Nil #

[View source]
def filter_pattern=(filter_pattern : String | Nil) #

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

See Object#hash(hasher)


def log_group_name : String | Nil #

The name of the log group.


[View source]
def log_group_name=(log_group_name : String | Nil) #

The name of the log group.


[View source]
def role_arn : String | Nil #

[View source]
def role_arn=(role_arn : String | Nil) #

[View source]
def validate! : Nil #

[View source]