Skip to content

AttachPolicyRequest

Source code in docs_src/capo_clouddirectory/types/attach_policy_request.py
class AttachPolicyRequest(TypedDict, closed=True):
    directory_arn: "capo_clouddirectory.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where both objects reside. For more information, see <a>arns</a>.</p>"""
    policy_reference: "capo_clouddirectory.types.object_reference.ObjectReference"
    """<p>The reference that is associated with the policy object.</p>"""
    object_reference: "capo_clouddirectory.types.object_reference.ObjectReference"
    """<p>The reference that identifies the object to which the policy will be attached.</p>"""

directory_arn instance-attribute

directory_arn: Arn

The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside. For more information, see arns.

object_reference instance-attribute

object_reference: ObjectReference

The reference that identifies the object to which the policy will be attached.

policy_reference instance-attribute

policy_reference: ObjectReference

The reference that is associated with the policy object.