← API reference
Mutation / admin

createIAMPolicyAttachment

Attach a policy for IaC ownership; an existing attachment must be imported.

Arguments

User and policy to attach

Returns IAMPolicyAttachmentPayload!

Explore in a view

Administration and IAM
View exact SDL
"""
Attach a policy for IaC ownership; an existing attachment must be imported.
"""
createIAMPolicyAttachment(
  """User and policy to attach"""
  input: AttachPolicyInput!
): IAMPolicyAttachmentPayload! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.