Skip to content

Role

Source code in docs_src/capo_auditmanager/types/role.py
class Role(TypedDict, closed=True):
    role_type: "capo_auditmanager.types.role_type.RoleType"
    """<p> The type of customer persona. </p> <note> <p>In <code>CreateAssessment</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>. </p> <p>In <code>UpdateSettings</code>, <code>roleType</code> can only be <code>PROCESS_OWNER</code>.</p> <p>In <code>BatchCreateDelegationByAssessment</code>, <code>roleType</code> can only be <code>RESOURCE_OWNER</code>.</p> </note>"""
    role_arn: "capo_auditmanager.types.iam_arn.IamArn"
    """<p> The Amazon Resource Name (ARN) of the IAM role. </p>"""

role_arn instance-attribute

role_arn: IamArn

The Amazon Resource Name (ARN) of the IAM role.

role_type instance-attribute

role_type: RoleType

The type of customer persona.

In CreateAssessment, roleType can only be PROCESS_OWNER.

In UpdateSettings, roleType can only be PROCESS_OWNER.

In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.