ConditionalIAMPolicyState
Revision-checked conditional policy contract for IaC; uses the same IAM policy storage and attachment IDs.
Fields
Unique identifier
Policy name
Policy description
Policy document with permission statements
Opaque editable-content revision. Required as expectedRevision when updating.
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (2)
Exact type SDL
"""
Revision-checked conditional policy contract for IaC; uses the same IAM policy storage and attachment IDs.
"""
type ConditionalIAMPolicyState @iac_resource(name: "conditional_iam_policy") @iac_precondition(field: "revision", input: "expectedRevision") @iac_ops(create: "createConditionalIAMPolicy", read: "getConditionalIAMPolicy", update: "updateConditionalIAMPolicy", 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! @value_validate(with: ["iam-actions"])
"""
Opaque editable-content revision. Required as expectedRevision when updating.
"""
revision: String! @iac_computed
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}