Skip to content

ContextEntry

Source code in docs_src/capo_iam/types/context_entry.py
class ContextEntry(TypedDict, closed=True):
    context_key_name: NotRequired[
        "capo_iam.types.context_key_name_type.ContextKeyNameType"
    ]
    """<p>The full name of a condition context key, including the service prefix. For example, <code>aws:SourceIp</code> or <code>s3:VersionId</code>.</p>"""
    context_key_values: NotRequired[
        "capo_iam.types.context_key_value_list_type.ContextKeyValueListType"
    ]
    """<p>The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a <code>Condition</code> element in an input policy.</p>"""
    context_key_type: NotRequired[
        "capo_iam.types.context_key_type_enum.ContextKeyTypeEnum"
    ]
    """<p>The data type of the value (or values) specified in the <code>ContextKeyValues</code> parameter.</p>"""

context_key_name instance-attribute

context_key_name: NotRequired[ContextKeyNameType]

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

context_key_type instance-attribute

context_key_type: NotRequired[ContextKeyTypeEnum]

The data type of the value (or values) specified in the ContextKeyValues parameter.

context_key_values instance-attribute

context_key_values: NotRequired[ContextKeyValueListType]

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.