Skip to content

Statement

Source code in docs_src/capo_iam/types/statement.py
class Statement(TypedDict, closed=True):
    source_policy_id: NotRequired[
        "capo_iam.types.policy_identifier_type.PolicyIdentifierType"
    ]
    """<p>The identifier of the policy that was provided as an input.</p>"""
    source_policy_type: NotRequired[
        "capo_iam.types.policy_source_type.PolicySourceType"
    ]
    """<p>The type of the policy.</p>"""
    start_position: NotRequired["capo_iam.types.position.Position"]
    """<p>The row and column of the beginning of the <code>Statement</code> in an IAM policy.</p>"""
    end_position: NotRequired["capo_iam.types.position.Position"]
    """<p>The row and column of the end of a <code>Statement</code> in an IAM policy.</p>"""

end_position instance-attribute

end_position: NotRequired[Position]

The row and column of the end of a Statement in an IAM policy.

source_policy_id instance-attribute

source_policy_id: NotRequired[PolicyIdentifierType]

The identifier of the policy that was provided as an input.

source_policy_type instance-attribute

source_policy_type: NotRequired[PolicySourceType]

The type of the policy.

start_position instance-attribute

start_position: NotRequired[Position]

The row and column of the beginning of the Statement in an IAM policy.