Skip to content

AttachPolicyRequest

Source code in docs_src/capo_iot/types/attach_policy_request.py
class AttachPolicyRequest(TypedDict, closed=True):
    policy_name: "capo_iot.types.policy_name.PolicyName"
    """<p>The name of the policy to attach.</p>"""
    target: "capo_iot.types.policy_target.PolicyTarget"
    """<p>The <a href="https://docs.aws.amazon.com/iot/latest/developerguide/security-iam.html">identity</a> to which the policy is attached. For example, a thing group or a certificate.</p>"""

policy_name instance-attribute

policy_name: PolicyName

The name of the policy to attach.

target instance-attribute

target: PolicyTarget

The identity to which the policy is attached. For example, a thing group or a certificate.