IAMPolicyState
An IAM policy that can be attached to users
Fields
Opaque editable-content revision. Required as expectedRevision when replacing a conditional document.
Unique identifier
Policy name
Policy description
Policy document with permission statements
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (3)
Exact type 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") {
"""
Opaque editable-content revision. Required as expectedRevision when replacing a conditional document.
"""
revision: String! @iac_computed
"""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! @value_validate(with: ["iam-actions"])
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}