Rule
¶
Source code in docs_src/capo_connect/types/rule.py
actions
instance-attribute
¶
actions: RuleActions
A list of actions to be run when the rule is triggered.
created_time
instance-attribute
¶
created_time: Timestamp
The timestamp for when the rule was created.
last_updated_by
instance-attribute
¶
last_updated_by: ARN
The Amazon Resource Name (ARN) of the user who last updated the rule.
last_updated_time
instance-attribute
¶
last_updated_time: Timestamp
The timestamp for the when the rule was last updated.
pre_evaluation_filters
instance-attribute
¶
pre_evaluation_filters: NotRequired[PreEvaluationFilters]
The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.
publish_status
instance-attribute
¶
publish_status: RulePublishStatus
The publish status of the rule.
rule_capability_tiers
instance-attribute
¶
rule_capability_tiers: NotRequired[RuleCapabilityTiers]
The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example, GenerativeAI).
tags
instance-attribute
¶
tags: NotRequired[TagMap]
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
trigger_event_source
instance-attribute
¶
trigger_event_source: RuleTriggerEventSource
The event source to trigger the rule.