class
Amazonite::CloudWatch::ManagedRule
- Amazonite::CloudWatch::ManagedRule
- Reference
- Object
Overview
Contains the information that's required to enable a managed Contributor Insights rule for an Amazon Web Services resource.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/managed_rule.crConstructors
- .new(template_name : String, resource_arn : String, tags : Array(Tag) | 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. -
#hash(hasher)
See
Object#hash(hasher) -
#resource_arn : String
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
-
#resource_arn=(resource_arn : String)
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
-
#tags : Array(Tag) | Nil
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
-
#tags=(tags : Array(Tag) | Nil)
A list of key-value pairs that you can associate with a managed Contributor Insights rule.
-
#template_name : String
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules. -
#template_name=(template_name : String)
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
A list of key-value pairs that you can associate with a managed Contributor Insights rule. You
can associate as many as 50 tags with a rule. Tags can help you organize and categorize your
resources. You also can use them to scope user permissions by granting a user permission to
access or change only the resources that have certain tag values. 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 that you specify in this parameter are ignored. To change
the tags of an existing rule, use TagResource.
A list of key-value pairs that you can associate with a managed Contributor Insights rule. You
can associate as many as 50 tags with a rule. Tags can help you organize and categorize your
resources. You also can use them to scope user permissions by granting a user permission to
access or change only the resources that have certain tag values. 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 that you specify in this parameter are ignored. To change
the tags of an existing rule, use TagResource.
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules.
The template name for the managed Contributor Insights rule, as returned by
ListManagedInsightRules.