class Amazonite::CloudWatch::ManagedRuleDescription

Overview

Contains information about managed Contributor Insights rules, as returned by ListManagedInsightRules.

Included Modules

Defined in:

cloudwatch/managed_rule_description.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(template_name : String | Nil = nil, resource_arn : String | Nil = nil, rule_state : ManagedRuleState | Nil = nil) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def resource_arn : String | Nil #

If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.


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

If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.


[View source]
def rule_state : ManagedRuleState | Nil #

Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.


[View source]
def rule_state=(rule_state : ManagedRuleState | Nil) #

Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.


[View source]
def template_name : String | Nil #

The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.


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

The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.


[View source]
def validate! : Nil #

[View source]