Skip to content

ManagedRule

Source code in docs_src/capo_cloudwatch/types/managed_rule.py
class ManagedRule(TypedDict, closed=True):
    template_name: NotRequired["capo_cloudwatch.types.template_name.TemplateName"]
    """<p> The template name for the managed Contributor Insights rule, as returned by <code>ListManagedInsightRules</code>. </p>"""
    resource_arn: NotRequired[
        "capo_cloudwatch.types.amazon_resource_name.AmazonResourceName"
    ]
    """<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>"""
    tags: NotRequired["capo_cloudwatch.types.tag_list.TagList"]
    """<p> 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 <code>cloudwatch:TagResource</code> permission in addition to the <code>cloudwatch:PutInsightRule</code> 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 <code>TagResource</code>. </p>"""

resource_arn instance-attribute

resource_arn: NotRequired[AmazonResourceName]

The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.

tags instance-attribute

tags: NotRequired[TagList]

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.

template_name instance-attribute

template_name: NotRequired[TemplateName]

The template name for the managed Contributor Insights rule, as returned by ListManagedInsightRules.