class
Amazonite::CloudWatchLogs::SubscriptionFilter
- Amazonite::CloudWatchLogs::SubscriptionFilter
- Reference
- Object
Overview
Represents a subscription filter.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/subscription_filter.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#apply_on_transformed_logs : Bool | Nil
This parameter is valid only for log groups that have an active log transformer.
-
#apply_on_transformed_logs=(apply_on_transformed_logs : Bool | Nil)
This parameter is valid only for log groups that have an active log transformer.
-
#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. -
#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. -
#destination_arn : String | Nil
The Amazon Resource Name (ARN) of the destination.
-
#destination_arn=(destination_arn : String | Nil)
The Amazon Resource Name (ARN) of the destination.
- #distribution : Distribution | Nil
- #distribution=(distribution : Distribution | Nil)
-
#emit_system_fields : Array(String) | Nil
The list of system fields that are included in the log events sent to the subscription destination.
-
#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.
-
#field_selection_criteria : String | Nil
The filter expression that specifies which log events are processed by this subscription filter based on system fields.
-
#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.
-
#filter_name : String | Nil
The name of the subscription filter.
-
#filter_name=(filter_name : String | Nil)
The name of the subscription filter.
- #filter_pattern : String | Nil
- #filter_pattern=(filter_pattern : String | Nil)
-
#hash(hasher)
See
Object#hash(hasher) -
#log_group_name : String | Nil
The name of the log group.
-
#log_group_name=(log_group_name : String | Nil)
The name of the log group.
- #role_arn : String | Nil
- #role_arn=(role_arn : String | Nil)
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The Amazon Resource Name (ARN) of the destination.
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.
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.
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.
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.