Skip to content

AccountPolicy

Source code in docs_src/capo_cloudwatch_logs/types/account_policy.py
class AccountPolicy(TypedDict, closed=True):
    policy_name: NotRequired["capo_cloudwatch_logs.types.policy_name.PolicyName"]
    """<p>The name of the account policy.</p>"""
    policy_document: NotRequired[
        "capo_cloudwatch_logs.types.account_policy_document.AccountPolicyDocument"
    ]
    """<p>The policy document for this account policy.</p> <p>The JSON specified in <code>policyDocument</code> can be up to 30,720 characters.</p>"""
    last_updated_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>The date and time that this policy was most recently updated.</p>"""
    policy_type: NotRequired["capo_cloudwatch_logs.types.policy_type.PolicyType"]
    """<p>The type of policy for this account policy.</p>"""
    scope: NotRequired["capo_cloudwatch_logs.types.scope.Scope"]
    """<p>The scope of the account policy.</p>"""
    selection_criteria: NotRequired[
        "capo_cloudwatch_logs.types.selection_criteria.SelectionCriteria"
    ]
    """<p>The log group selection criteria that is used for this policy.</p>"""
    account_id: NotRequired["capo_cloudwatch_logs.types.account_id.AccountId"]
    """<p>The Amazon Web Services account ID that the policy applies to.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID that the policy applies to.

last_updated_time instance-attribute

last_updated_time: NotRequired[Timestamp]

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

policy_document instance-attribute

policy_document: NotRequired[AccountPolicyDocument]

The policy document for this account policy.

The JSON specified in policyDocument can be up to 30,720 characters.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The name of the account policy.

policy_type instance-attribute

policy_type: NotRequired[PolicyType]

The type of policy for this account policy.

scope instance-attribute

scope: NotRequired[Scope]

The scope of the account policy.

selection_criteria instance-attribute

selection_criteria: NotRequired[SelectionCriteria]

The log group selection criteria that is used for this policy.