Skip to content

CreateDelegationRequest

Source code in docs_src/capo_auditmanager/types/create_delegation_request.py
class CreateDelegationRequest(TypedDict, closed=True):
    comment: NotRequired["capo_auditmanager.types.delegation_comment.DelegationComment"]
    """<p> A comment that's related to the delegation request. </p>"""
    control_set_id: NotRequired["capo_auditmanager.types.control_set_id.ControlSetId"]
    """<p> The unique identifier for the control set. </p>"""
    role_arn: NotRequired["capo_auditmanager.types.iam_arn.IamArn"]
    """<p> The Amazon Resource Name (ARN) of the IAM role. </p>"""
    role_type: NotRequired["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>"""

comment instance-attribute

comment: NotRequired[DelegationComment]

A comment that's related to the delegation request.

control_set_id instance-attribute

control_set_id: NotRequired[ControlSetId]

The unique identifier for the control set.

role_arn instance-attribute

role_arn: NotRequired[IamArn]

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

role_type instance-attribute

role_type: NotRequired[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.