Skip to content

IndexPolicy

Source code in docs_src/capo_cloudwatch_logs/types/index_policy.py
class IndexPolicy(TypedDict, closed=True):
    log_group_identifier: NotRequired[
        "capo_cloudwatch_logs.types.log_group_identifier.LogGroupIdentifier"
    ]
    """<p>The ARN of the log group that this index policy applies to.</p>"""
    last_update_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>The date and time that this index policy was most recently updated.</p>"""
    policy_document: NotRequired[
        "capo_cloudwatch_logs.types.policy_document.PolicyDocument"
    ]
    """<p>The policy document for this index policy, in JSON format.</p>"""
    policy_name: NotRequired["capo_cloudwatch_logs.types.policy_name.PolicyName"]
    """<p>The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.</p>"""
    source: NotRequired["capo_cloudwatch_logs.types.index_source.IndexSource"]
    """<p>This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.</p>"""

last_update_time instance-attribute

last_update_time: NotRequired[Timestamp]

The date and time that this index policy was most recently updated.

log_group_identifier instance-attribute

log_group_identifier: NotRequired[LogGroupIdentifier]

The ARN of the log group that this index policy applies to.

policy_document instance-attribute

policy_document: NotRequired[PolicyDocument]

The policy document for this index policy, in JSON format.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names.

source instance-attribute

source: NotRequired[IndexSource]

This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group.