Skip to content

AddPolicyStatementInput

Source code in docs_src/capo_entityresolution/types/add_policy_statement_input.py
class AddPolicyStatementInput(TypedDict, closed=True):
    arn: "capo_entityresolution.types.venice_global_arn.VeniceGlobalArn"
    """<p>The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.</p>"""
    statement_id: "capo_entityresolution.types.statement_id.StatementId"
    """<p>A statement identifier that differentiates the statement from others in the same policy.</p>"""
    effect: "capo_entityresolution.types.statement_effect.StatementEffect"
    """<p>Determines whether the permissions specified in the policy are to be allowed (<code>Allow</code>) or denied (<code>Deny</code>).</p> <important> <p> If you set the value of the <code>effect</code> parameter to <code>Deny</code> for the <code>AddPolicyStatement</code> operation, you must also set the value of the <code>effect</code> parameter in the <code>policy</code> to <code>Deny</code> for the <code>PutPolicy</code> operation.</p> </important>"""
    action: "capo_entityresolution.types.statement_action_list.StatementActionList"
    """<p>The action that the principal can use on the resource. </p> <p>For example, <code>entityresolution:GetIdMappingJob</code>, <code>entityresolution:GetMatchingJob</code>.</p>"""
    principal: (
        "capo_entityresolution.types.statement_principal_list.StatementPrincipalList"
    )
    """<p>The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.</p>"""
    condition: NotRequired[
        "capo_entityresolution.types.statement_condition.StatementCondition"
    ]
    """<p>A set of condition keys that you can use in key policies.</p>"""

action instance-attribute

The action that the principal can use on the resource.

For example, entityresolution:GetIdMappingJob, entityresolution:GetMatchingJob.

arn instance-attribute

The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.

condition instance-attribute

condition: NotRequired[StatementCondition]

A set of condition keys that you can use in key policies.

effect instance-attribute

Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny).

If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.

principal instance-attribute

The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.

statement_id instance-attribute

statement_id: StatementId

A statement identifier that differentiates the statement from others in the same policy.