Skip to content

ManagedRuleDescription

Source code in docs_src/capo_cloudwatch/types/managed_rule_description.py
class ManagedRuleDescription(TypedDict, closed=True):
    template_name: NotRequired["capo_cloudwatch.types.template_name.TemplateName"]
    """<p> The template name for the managed rule. Used to enable managed rules using <code>PutManagedInsightRules</code>. </p>"""
    resource_arn: NotRequired[
        "capo_cloudwatch.types.amazon_resource_name.AmazonResourceName"
    ]
    """<p> If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource. </p>"""
    rule_state: NotRequired["capo_cloudwatch.types.managed_rule_state.ManagedRuleState"]
    """<p> 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. </p>"""

resource_arn instance-attribute

resource_arn: NotRequired[AmazonResourceName]

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

rule_state instance-attribute

rule_state: NotRequired[ManagedRuleState]

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.

template_name instance-attribute

template_name: NotRequired[TemplateName]

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