← API reference
CANONICAL TYPE REFERENCE

IAMPolicyState

An IAM policy that can be attached to users

Unique identifier

nameString!

Policy name

Policy description

Policy document with permission statements

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""An IAM policy that can be attached to users"""
type IAMPolicyState @iac_resource(name: "iam_policy") @iac_ops(create: "createIAMPolicy", read: "getIAMPolicy", update: "updateIAMPolicy", delete: "deleteIAMPolicy") {
  """Unique identifier"""
  id: IAMPolicyID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Policy name"""
  name: String!
  """Policy description"""
  description: String
  """Policy document with permission statements"""
  document: IAMDocument! @iac_validate(with: ["iam-actions"])
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.