class
Amazonite::CloudWatch::PutInsightRuleInput
- Amazonite::CloudWatch::PutInsightRuleInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/put_insight_rule_input.crConstructors
- .new(rule_name : String, rule_definition : String, rule_state : String | Nil = nil, tags : Array(Tag) | Nil = nil, apply_on_transformed_logs : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#apply_on_transformed_logs : Bool | Nil
Specify
trueto have this rule evaluate log events after they have been transformed by Log transformation. -
#apply_on_transformed_logs=(apply_on_transformed_logs : Bool | Nil)
Specify
trueto have this rule evaluate log events after they have been transformed by Log transformation. -
#hash(hasher)
See
Object#hash(hasher) -
#rule_definition : String
The definition of the rule, as a JSON object.
-
#rule_definition=(rule_definition : String)
The definition of the rule, as a JSON object.
-
#rule_name : String
A unique name for the rule.
-
#rule_name=(rule_name : String)
A unique name for the rule.
-
#rule_state : String | Nil
The state of the rule.
-
#rule_state=(rule_state : String | Nil)
The state of the rule.
-
#tags : Array(Tag) | Nil
A list of key-value pairs to associate with the Contributor Insights rule.
-
#tags=(tags : Array(Tag) | Nil)
A list of key-value pairs to associate with the Contributor Insights rule.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specify true to have this rule evaluate log events after they have been transformed by Log
transformation.
If you specify true, then the log events in log groups that have transformers will be
evaluated by Contributor Insights after being transformed. Log groups that don't have
transformers will still have their original log events evaluated by Contributor Insights.
The default is false
If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by Contributor Insights. For information about investigating log transformation failures, see Transformation metrics and errors.
Specify true to have this rule evaluate log events after they have been transformed by Log
transformation.
If you specify true, then the log events in log groups that have transformers will be
evaluated by Contributor Insights after being transformed. Log groups that don't have
transformers will still have their original log events evaluated by Contributor Insights.
The default is false
If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by Contributor Insights. For information about investigating log transformation failures, see Transformation metrics and errors.
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.
The state of the rule. Valid values are ENABLED and DISABLED.
A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission
in addition to the cloudwatch:PutInsightRule permission.
If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.
A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission
in addition to the cloudwatch:PutInsightRule permission.
If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.